
Shared server logic for the differential-scatter plot modules
Source:R/differentialscatter.R
differentialscatterLogic.RdWires up the selectmatrix, contrasts, geneselect,
scatterplot and simpletable modules in the way common to
volcanoplot, maplot and
foldchangeplot. The caller supplies buildTable to
derive the module-specific numeric matrix and buildLines to derive
the module-specific threshold lines; the colorby/label annotation (see
annotateDifferentialTable) and plot title are identical
across all three and applied here.
Usage
differentialscatterLogic(
input,
output,
session,
eselist,
scatter_id,
buildTable,
buildLines,
filename,
require_contrast_stats = FALSE
)Arguments
- input, output, session
The Shiny input/output/session of the calling module
- eselist
ExploratorySummarizedExperimentList object containing ExploratorySummarizedExperiment objects
- scatter_id
Sub-namespace matching the one passed to
differentialscatterInput- buildTable
Function of
contrast_reactivesreturning the module-specific data frame, before colorby/label annotation. Its first two columns are used as the plotted x and y values.- buildLines
Function of the annotated table and
contrast_reactivesreturning the threshold-line data frame- filename
Base filename used for the exported table
- require_contrast_stats
Restrict
eselistto experiments with a populatedcontrast_statsslot