get_geneSets_from_local_files | R Documentation |
Load the gene-sets collection from local gmt files
get_geneSets_from_local_files(ffiles)
ffiles |
a character string or a list of a character pointing to local files |
A vector list of gene-sets
Stefano M. Pagnotta
get_geneSets_from_msigdbr, write_geneSets_to_gmt
library(massiveGST)
tmp <- get_geneSets_from_msigdbr(category = "H", what = "gene_symbol")
fname1 <- file.path(tempdir(), "h1.gmt")
write_geneSets_to_gmt(tmp, fileName = fname1)
fname2 <- file.path(tempdir(), "h2.gmt")
write_geneSets_to_gmt(tmp, fileName = fname2)
# getting one collection
geneSets <- get_geneSets_from_local_files(fname1)
length(geneSets)
# getting two collections
geneSets <- get_geneSets_from_local_files(c(fname1, fname2))
length(geneSets)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.