This function performs unmixing of raw data using Poisson regression, with iterative reweighted least squares (IRLS) and fallback methods for cells that fail to converge.
Usage
unmix.poisson(
raw.data,
spectra,
asp,
initial.weights = NULL,
parallel = TRUE,
threads = NULL
)Arguments
- raw.data
Matrix containing raw data to be unmixed.
- spectra
Matrix containing spectra information.
- asp
The AutoSpectral parameter list. Prepare using
get.autospectral.param- initial.weights
Optional numeric vector of weights, one per fluorescent detector. Default is
NULL, in which case weighting will be done by channel means.- parallel
Logical, default is
TRUE, which enables parallel processing for per-cell unmixing.- threads
Numeric, default is
NULL, in which caseasp$worker.process.nwill be used ifparallel=TRUE.