View source: R/GSAsummaryTable.R
| GSAsummaryTable | R Documentation |
Displays or saves a summary table of the results from runGSA.
GSAsummaryTable(gsaRes, save = FALSE, file = NULL)
gsaRes |
an object of class |
save |
a logical, whether or not to save the table. |
file |
a character string giving the file name to save to. |
The table is by default saved as an .xls file, if file is unused.
The summary table as a data.frame (returned invisibly if
save=TRUE).
Leif Varemo piano.rpkg@gmail.com and Intawat Nookaew piano.rpkg@gmail.com
piano, runGSA,
networkPlot, GSAheatmap
# Load example input data to GSA:
data("gsa_input")
# Load gene set collection:
gsc <- loadGSC(gsa_input$gsc)
# Run gene set analysis:
gsares <- runGSA(geneLevelStats=gsa_input$pvals , directions=gsa_input$directions,
gsc=gsc, nPerm=500)
# Summary table:
GSAsummaryTable(gsares)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.