readGmtFile {BioNetStat} | R Documentation

## Read a collection of gene sets (*.gmt)

### Description

'readGmtFile' reads a tab-delimited text file containing a collection of gene sets.

### Usage

    readGmtFile(fileName)

### Arguments

`fileName` | a string containing the file name

### Value

a list of gene sets. Each element of the list is a character vector v, where v[1] contains the gene set name, v[2] descriptions about the set, v[3..length(v)] the genes that belong to the set.

### Examples

    # Read example gmt file
    gmt_fname <- system.file("extdata", "c2.cp.v5.2.symbols.gmt", package = "BioNetStat")
    deneSets <- readGmtFile(gmt_fname)

[Package BioNetStat version 1.2.2 Index]