Launch an interactive Shiny app to explore predicted spread for multiple populations
Source:R/PredMultipleSpread.R
PredMultipleSpread.RdThis function launches a Shiny application that allows users to interactively explore the predicted spread
of unmixed signals for multiple populations based on a given userm object (Userm).
The app provides multiple tabs for visualizing the unmixing matrix, prediction plots, slope and intercept matrices,
and exporting results.
Arguments
- Userm
A userm object created by
CreateUserm, containing unmixing matrix, detector and fluor information, and intensity data.- population_ids
A character vector specifying one or more column names in
Userm$Intensity_mtxrepresenting the populations to be visualized.
Details
The app includes the following features:
Fluor and detector selection panels
Interactive prediction plot with scale and axis controls
Visualization of unmixing, pseudoinverse, slope, and intercept matrices
Export options for HTML reports and NxN/Nx1 plots
Examples
if (FALSE) { # \dontrun{
PredMultipleSpread(Userm, population_ids = c("P1", "P2"))
} # }