
The UI input function of the genesetanalysistable module
Source:R/genesetanalysistable.R
genesetanalysistableInput.RdThis module displays gene set analysis tables stored as a list in the
gene_set_analyses slot of an ExploratorySummarizedExperiment.
Details
The gene_set_analyses slot must be keyed first by the name of the
assay to which it pertains, and second by the gene set type (e.g. 'KEGG').
The containing ExploratorySummarizedExperiment must have a populated
gene_sets slot, keyed first by metadata column used to define the
gene sets and secondly by the gene set type.
The module is based on the output of roast() from limma, but it's
fairly generic, and assumes only the presence of a 'p value' and 'FDR'
column, so the output of other methods should be easily adapted to suit.
Leverages the simpletable module
Examples
data(airway, package = "airway")
ese <- as(airway, "ExploratorySummarizedExperiment")
eselist <- ExploratorySummarizedExperimentList(ese)
#> Creating ExploratorySummarizedExperimentList object
# This module needs an eselist whose experiments carry gene_set_analyses
# results (see the vignette). Given those, module input is produced like:
if (interactive()) {
genesetanalysistableInput("experiment", eselist)
}