| read_gmt_list | R Documentation |
The function read_gmt_list calls the C routine read_gmt to
read GMT file into a list.
read_gmt_list(gmt.file)
gmt.file |
Character, name of one gmt-format file |
Empty lines or lines without genes are omitted.Empty fields in “genes” are omitted as well.
A list, the length of which equals the number of genesets. Each list contains three items:
name |
Character, gene set name |
description |
Character, gene set description |
genes |
Character vector, genes in the set |
Jitao David Zhang <jitao_david.zhang@roche.com>
idir <- system.file("extdata", package="ribiosIO")
sample.gmt.file <- file.path(idir, "test.gmt")
test.gmt <- read_gmt_list(sample.gmt.file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.