View source: R/corrMatCreate.R
corrMatCreate | R Documentation |
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.
corrMatCreate(specMat)
specMat |
The spectral matrix used to unmix the dataset of interest. |
A symmetrical matrix of zeros with the right row- and column names.
correctUnmix
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.