corrMatCreate: Generate a correction matrix for cytometry data analysis

Description Usage Arguments Value See Also Examples

View source: R/corrMatCreate.R

Description

This function aids the correctUnmix function, to create a symmetrical correction matrix that should be used together with a flowframe to correct the errors of unmixing.

Usage

1

Arguments

specMat

The spectral matrix used to unmix the dataset of interest.

Value

A symmetrical matrix of zeros with the right row- and column names.

See Also

correctUnmix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# 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 unmix
fullPanelUnmix <- specUnmix(fullPanel, specMat)


# Create an empty unmixinng matrix
corrMat <- corrMatCreate(specMat)

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