gmt2list: read gmt file as a list

Description Usage Arguments Value See Also Examples

View source: R/gmt2list.R

Description

read Gene Matrix Transposed (gmt) file and output a list with the the first column as the names of items in the list. see Gene Matrix Transposed file format for more details.

Usage

1
gmt2list(annofile)

Arguments

annofile

a gmt file. Examples are from MSigDB Collections. A list of gene set could be find in the vignette of cogena

Value

a gmt list

See Also

gmtlist2file

Examples

1
2
3
anno <- "c2.cp.kegg.v7.01.symbols.gmt.xz"
annofile <- system.file("extdata", anno, package="cogena")
gl <- gmt2list(annofile)

cogena documentation built on Nov. 8, 2020, 6:54 p.m.