Skip to contents

This 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.

Usage

PredMultipleSpread(Userm, population_ids)

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_mtx representing the populations to be visualized.

Value

A Shiny UI object that can be passed to shinyApp() or used within a Shiny server function.

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"))
} # }