gmt_import: gmt_import

View source: R/mitch.R

gmt_importR Documentation

gmt_import

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

gmt_import(gmtfile)

Arguments

gmtfile

a gmt file.

Value

a list of gene sets.

Examples

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

markziemann/Mitch documentation built on Nov. 2, 2024, 3:12 a.m.