gmt_import: gmt_import

Description Usage Arguments Value Examples

View source: R/mitch.R

Description

This function imports GMT files into a list of character vectors for mitch analysis. GMT files are a commonly used format for lists of genes used in pathway enrichment analysis. GMT files can be obtained from Reactome, MSigDB, etc.

Usage

1
gmt_import(gmtfile)

Arguments

gmtfile

a gmt file.

Value

a list of gene sets.

Examples

1
2
3
# Import some gene sets
genesetsExample<-gmt_import(system.file('extdata/sample_genesets.gmt', 
package = 'mitch'))

mitch documentation built on Nov. 8, 2020, 6 p.m.