save_as_xls {massiveGST} | R Documentation |
Save the results in xls file format
Description
Save the data frame coming from the massiveGST function as Excel 2003 (XLS) or Excel 2007 (XLSX) files
Usage
save_as_xls(x, file_name = "massiveGST.xls", ...)
Arguments
x |
a data frame of "mGST" class coming from massiveGST function. |
file_name |
a character value ("massiveGST.xls" as default) |
... |
Arguments to be passed to methods |
Value
No return value.
Author(s)
Stefano M. Pagnotta
See Also
Examples
library(massiveGST)
# get the gene profile
fname <- system.file("extdata", package="massiveGST")
fname <- file.path(fname, "pre_ranked_list.txt")
geneProfile <- get_geneProfile(fname)
# get the gene-sets
geneSets <- get_geneSets_from_msigdbr(category = "H", what = "gene_symbol")
# run the function
ans <- massiveGST(geneProfile, geneSets, alternative = "two.sided")
# save the results
fname <- file.path(tempdir(), "massiveGST_results.xls")
save_as_xls(ans, file_name = fname)
[Package massiveGST version 1.2.3 Index]