exploreGSAres: Explore GSA results

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

View source: R/exploreGSAres.R

Description

Explore GSA results interactively in a web browser using shiny.

Usage

1
exploreGSAres(gsaRes, browser = TRUE, geneAnnot = NULL, genesets)

Arguments

gsaRes

an object of class GSAres, as returned from runGSA() or an object returned from runGSAhyper().

browser

a logical, whether or not to open the Shiny app in a browser window. Set to FALSE to open an interactive window directly in RStudio.

geneAnnot

a data.frame, containing gene annotation. The first column should be gene IDs matching those in gsares.

genesets

a character vector or list (named or un-named) of character vectors containing subsets of gene-set names that can be selected and displayed in the network plot.

Details

Additional gene-level information, e.g. alternative names or description, can be supplied via the geneAnnot argument. This information will show up in the gene table and the gene summary tabs.

Value

Does not return any object.

Author(s)

Leif Varemo piano.rpkg@gmail.com

See Also

piano, runGSA, GSAheatmap, networkPlot2

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)

   # Explore results:
   ## Not run: exploreGSAres(gsares)

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