Performs spectral unmixing using ordinary least squares
Arguments
- raw.data
Expression data from raw fcs files. Cells in rows and detectors in columns. Columns should be fluorescent data only and must match the columns in spectra.
- spectra
Spectral signatures of fluorophores, normalized between 0 and 1, with fluorophores in rows and detectors in columns.
- weights
Dummy argument to allow dynamic switching between OLS and WLS. Default is
NULL. Values passed toweightswill be ignored.