specUnmix: Spectral unmixing of cytometry files

Description Usage Arguments Value Examples

View source: R/specUnmix.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
# 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)

flowSpecs documentation built on Nov. 8, 2020, 5:39 p.m.