View source: R/DownstreamAnalysisFunctions.R
findUncertainLabels | R Documentation |
findUncertainLabels()
generates an l-by-l matrix for how often each label is
confused for each other label at a given threshold, optinally normalized for total
counts of cells for each label (default FALSE)
findUncertainLabels(
cellWalk,
cellTypes,
threshold = 0.1,
labelThreshold,
plot = FALSE,
normalize = FALSE
)
cellWalk |
a cellWalk object |
cellTypes |
character, vector of labels to use, all labels used by default |
threshold |
numeric, quantile threshold for uncertain label |
labelThreshold |
numeric, set a threshold below which cells aren't labeled (e.g. 0) |
plot |
boolean, plot output matrix |
normalize |
boolean, normalize plot scale |
cellWalk object with label uncertainty matrix (l-by-l) stored in "uncertaintyMatrix"
data("SampleCellWalkRData")
cellWalk <- findUncertainLabels(SampleCellWalkRData$cellWalk, threshold = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.