View source: R/genesignatures.R
read_gmt | R Documentation |
Returns a list of pathways from a GMT file.
read_gmt(gmtfile)
gmtfile |
A character value, containing the location of the GMT formatted file. It can also be a file found online |
A list of vectors, one for each pathway in the GMT file.
# this example reads in the freely available pathways from wikipathways
## Not run:
mysigs <- read_gmt(
"http://data.wikipathways.org/20240910/gmt/wikipathways-20240910-gmt-Homo_sapiens.gmt"
)
head(mysigs)
# see how the gene identifiers are encoded as ENTREZ id
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.