read_gmt | R Documentation |
Read Gene Matrix Transposed (gmt) file and return a list. The first column of the GMT are gene set names, the second are descriptions, then are genes.
read_gmt(file.path, strip.nm = "REACTOME_")
file.path |
Path to the GMT file. |
strip.nm |
Regular expression which is removed from gene set names. Case is ignored. |
There are many functions in R for reading GMT files; this one was partially adapted from gmt2list
in the cogena package.
List of gene sets. Each element has a gene set name
, description
, and genes
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.