write_geneSets_to_gmt | R Documentation |
Write a collection of gene sets as arranged in this package in a gmt file format.
write_geneSets_to_gmt(gs, fileName)
gs |
a character vector of gene-sets |
fileName |
a character value; "gene_sets.gmt" (default) |
No return value.
Stefano M. Pagnotta
get_geneSets_from_local_files
library(massiveGST)
# get the gene-sets
fname <- system.file("extdata", package="massiveGST")
fname <- file.path(fname, "h.all.v2024.1.Hs.symbols.gmt")
geneSets <- get_geneSets_from_local_files(fname)
# save the gene-sets
fname <- file.path(tempdir(), "hallmarks.gmt")
write_geneSets_to_gmt(geneSets, fileName = fname)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.