Learn R Programming

WebGestaltR (version 0.1.0)

readGMT:

Description

The readGMT function can read the GMT file and transform to an R matrix object containing three columns: category ID, external link of the category and the annotated genes.

Usage

readGMT(gmtFile)

Arguments

gmtFile
The GMT file with the extension gmt.

Value

This function will return an R matrix object containing three columns: category ID, external link of the category and the annotated genes.

Examples

Run this code
	gmtFile <- system.file("extdata","exampleGMT.gmt",package="WebGestaltR")
	#gmtData <- readGMT(gmtFile)

Run the code above in your browser using DataLab