read.gmt: parse gmt file to a list format

Description Usage Arguments Value Author(s) Examples

View source: R/read.gmt.R

Description

This function parses gmt file to a list format for enrichment analysis.

Usage

1
read.gmt(file, format = "KEGG")

Arguments

file

*.gmt file (a TAB-delimited file)

format

select the compound DB-IDs ('KEGG', 'HMDB', 'KNApSacK')

Value

list

Author(s)

Atsushi Fukushima

Examples

1
2
file <- system.file('extdata', 'sample_SMPDB.gmt', package = 'MSEAp')
smp <- read.gmt(file)

afukushima/MSEAp documentation built on Sept. 18, 2019, 7:12 p.m.