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 photon input to the detectors 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 some uncompensated data


# 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!
dataComp <- specUnmix(fluoExprs, specMat)

jtheorell/theFlowSpec documentation built on Aug. 22, 2019, 3:33 a.m.