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.

unmix.poisson(raw.data, spectra, asp, initial.weights = 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.

Value

A matrix containing the unmixed data.