Description Usage Arguments Value Examples
Plots a given density and true/predicted thresholds, if supplied. True thresholds are drawn as red lines. Predicted thresholds are drawn as blue lines. If no thresholds are specified, they are not drawn.
1 2 | flPlotDensThresh(dens, thresh = NULL, predicted = NULL, xlab = "Channel",
ylab = "Density")
|
dens |
A R density object such as returned from the stats::density function. |
thresh |
The true threshold in the given density. (optional) |
predicted |
The predicted threshold in the given density. |
xlab |
The label of the x-axis (defaults to "Channel") |
ylab |
The label of the y-axis (defaults to "Density") |
Nothing
1 2 3 4 5 6 | dd <- flFind(flSampleDensdat, population = 'myeloid', channelIdx = 1)
protoIdx <- flSelectPrototypes(dd, 1)
ddp <- flPredictThresholds(dd, protoIdx)
par(mfrow = c(3,1))
for(i in 1:3) flPlotDensThresh(flGetDensity(flAt(ddp, i)), flGetGate(flAt(dd, i)), flGetGate(flAt(ddp, i)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.