Skip to contents

This function launches a Shiny application that allows users to interactively explore the predicted spread of unmixed signals based on a given userm object (Userm) and a selected population. The app provides multiple tabs for visualizing the unmixing matrix, prediction plots, slope and intercept matrices, and exporting results.

Usage

PredOneSpread(Userm, population_id)

Arguments

Userm

A userm object created by CreateUserm, containing unmixing matrix, detector and fluor information, and intensity data.

population_id

A character string specifying the column name in Userm$Intensity_mtx representing the population 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{
PredOneSpread(Userm, population_id = "P1")
} # }