
Shared UI input scaffolding for the differential-scatter plot modules
Source:R/differentialscatter.R
differentialscatterInput.Rdvolcanoplot, maplot and foldchangeplot
are all scatter plots of statistics derived from a contrast in the
contrasts slot of an ExploratorySummarizedExperimentList, and
share the same input scaffolding (expression matrix selection, contrast
selection, scatter plot controls, gene highlighting, table export). Only
the numeric transform and threshold-line logic genuinely differ between
them - see differentialscatterLogic.
Usage
differentialscatterInput(
id,
eselist,
scatter_id,
require_contrast_stats = FALSE,
multi_view_fn = function(esel) !single_valid_matrix(esel)
)Arguments
- id
Submodule namespace
- eselist
ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects
- scatter_id
Sub-namespace used for the scatterplot, gene highlighting and table export controls (e.g.
"volcano","ma","foldchange")- require_contrast_stats
Restrict
eselistto experiments with a populatedcontrast_statsslot before building controls- multi_view_fn
Function of the (possibly filtered)
eselistreturningTRUEif the expression-matrix controls should be shown as their own fieldset rather than pushed in as hidden fields