tmodPanelPlotServer: Shiny module displaying tmod panel plots

View source: R/tmod_panelplot.R

tmodPanelPlotUIR Documentation

Shiny module displaying tmod panel plots

Description

Shiny module displaying tmod panel plots

Usage

tmodPanelPlotUI(id, datasets = NULL)

tmodPanelPlotServer(
  id,
  cntr,
  tmod_res,
  tmod_dbs,
  tmod_map,
  gs_id = NULL,
  annot = NULL
)

Arguments

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 reactiveValues()), including dataset (ds), gene set ID (id), contrast id (cntr), database ID (db) and sorting mode (sort). If mod_id is not NULL, these reactive values will be populated, possibly triggering an action in another shiny module.

annot

data frame containing at least the column 'PrimaryID'

Details

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)

Value

Returns a reactive value which is a list with elements contrast and id.


bihealth/bioshmods documentation built on July 1, 2023, 4:32 a.m.