specUnmix: Spectral unmixing of cytometry files

View source: R/specUnmix.R

specUnmixR Documentation

Spectral unmixing of cytometry files

Description

This function performs the central task of spectral unmixing, to convert the raw photon detector input to "biological" proxy-signals.

Usage

specUnmix(flowObj, specMat)

Arguments

flowObj

The fcs object to be filtered. Both flowFrames and flowSets are accepted.

specMat

This is a matrix generated by the secMatCalc function, possibly with edited row names.

Value

The unmixed data. It will be returned in the format it was imported as.

Examples

# Load uncompensated data
data(fullPanel)

# Load the spectral unmixing matrix generated with controls from the same
# experiment. These can be generated using the specMatCalc function.
data(specMat)

# And now, just run the function
fullPanelUnmix <- specUnmix(fullPanel, specMat)

jtheorell/flowSpecs documentation built on April 24, 2023, 2:59 a.m.