read_gmt | R Documentation |
A function to read GMT file
read_gmt( gmt.file, min.size = 1, max.size = -1, simplify = TRUE, sep1 = "\t", sep2 = sep1 )
gmt.file |
a text file in 'gmt' format. |
min.size |
The minimum gene set size to read. Defaults to 0. |
max.size |
The maximum gene set size to read. Defaults to no limit. |
simplify |
Defaults to TRUE. See 'output' for detail. |
sep1 |
a character string separating 'gene set name', 'url' and 'gene set' |
sep2 |
a character string separating each gene in 'gene set' |
a list of gene set.
If TRUE, the return structure is simplified to a list of genesets
each of which is a list of genes and the name of each geneset is
the name of gene set from MSigDB file, the first element of each line.
If FALSE, it returns a list of three element list each element of which
is name
, url
, and geneset
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.