| read_gmt_dataframe | R Documentation |
Read gene-sets in a GMT file into a data.frame
read_gmt_dataframe(gmt.file, description = FALSE)
gmt.file |
Character, name of one gmt-format file |
description |
Logical, whether the result should contain descriptions of gene-sets as a column. |
A data.frame. If description is set to FALSE,
the data.frame contains two columns: geneset and gene;
otherwise, it contains three columns: geneset, description, and
gene.
idir <- system.file("extdata", package="ribiosIO")
sample.gmt.file <- file.path(idir, "test.gmt")
testGmtDataframe <- read_gmt_dataframe(sample.gmt.file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.