gmt2list {cogena} | R Documentation

## read gmt file as a list

### 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

    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

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

[Package cogena version 1.22.0 Index]