Learn R Programming

piano (version 1.12.0)

GSAsummaryTable: Gene set analysis summary table

Description

Displays or saves a summary table of the results from runGSA.

Usage

GSAsummaryTable(gsaRes, save=FALSE, file=NULL)

Arguments

gsaRes
an object of class GSAres, as returned from runGSA().
save
a logical, whether or not to save the table.
file
a character string giving the file name to save to.

Value

The summary table as a data.frame (returned invisibly if save=TRUE).

Details

The table is by default saved as an .xls file, if file is unused.

See Also

piano, runGSA, networkPlot, GSAheatmap

Examples

Run this code
   # 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)  

Run the code above in your browser using DataLab