readGMT: Read GMT file

Description Usage Arguments Value Author(s) Examples

View source: R/readGMT.R

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

1
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.

Author(s)

Jing Wang

Examples

1
2
	gmtFile <- system.file("extdata","exampleGMT.gmt",package="WebGestaltR")
	#gmtData <- readGMT(gmtFile)

Example output

Initialize Python Version 2.7.6 (default, Oct 26 2016, 20:33:43) 
[GCC 4.8.4]

******************************************

*                                        *

*          Welcome to WebGestaltR !      *

*                                        *

******************************************

WebGestaltR documentation built on May 30, 2017, 8:17 a.m.