View source: R/tmod_panelplot.R
tmodPanelPlotUI | R Documentation |
Shiny module displaying tmod panel plots
tmodPanelPlotUI(id, datasets = NULL)
tmodPanelPlotServer(
id,
cntr,
tmod_res,
tmod_dbs,
tmod_map,
gs_id = NULL,
annot = NULL
)
id |
Module ID |
datasets |
if there are multiple data sets, this character vector defines what they are to show an approppriate selector in the UI |
cntr |
list of data frames with the results of differential expression analysis. Rownames must correspond to the 'PrimaryID' column of data frame annot. |
tmod_res |
list of tmod gene set enrichment analysis results. See Details. |
tmod_dbs |
named list of tmod databases, see Details. |
tmod_map |
mapping between the PrimaryIDs from the contrasts and the gene IDs from the gene set databases. |
gs_id |
a "reactive values" object (returned by |
annot |
data frame containing at least the column 'PrimaryID' |
Tmod results, mapping and databases.
The tmod_res
object is a nested list with the following levels:
top level are the contrasts. names(tmod_res)
must be (set)equal to
names(cntr)
.
next level are the names of tmod databases. names(tmod_res[[1]])
must be (set)equal to names(tmod_dbs)
Returns a reactive value which is a list with elements
contrast
and id
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.