GSAsummaryTable: Gene set analysis summary table

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/GSAsummaryTable.R

Description

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

Usage

1

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.

Details

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

Value

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

Author(s)

Leif Varemo piano.rpkg@gmail.com and Intawat Nookaew piano.rpkg@gmail.com

See Also

piano, runGSA, networkPlot, GSAheatmap

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
   # 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)  

piano documentation built on Nov. 8, 2020, 6:27 p.m.