GSAsummaryTable {piano} | R Documentation

## 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.

### 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

       # 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)

[Package piano version 2.0.2 Index]