readgmt: read.gmt

Description Usage Arguments Value Author(s) See Also Examples

View source: R/readgmt.R

Description

reads a gmt file on your disk to the memory.

Usage

1
readgmt(path.gmt)

Arguments

path.gmt

the path to the gmt file on your disk.

Value

named list of genesets. Each element is a gene set, i.e. a vector of characters representing official gene symbols read from the gmt file

Author(s)

maxime.tarabichi@ulb.ac.be

See Also

GSEA.listofgenes;

Examples

1
2
3
4
5
6
7
8
## collections at: http://www.broadinstitute.org/gsea/msigdb/collections.jsp
path<-"/Users/yourUserName/Desktop/c5.gmt"
lG<-readgmt(path)

##use function GSEA.listofgenes to run GSEA analysis on the collection.
res<-GSEA.listofgenes(m,lG,o,1000)
fdr<-computeFDRmedian(res)
str(fdr)

galder-max/GSEAlite documentation built on Jan. 30, 2021, 10:50 p.m.