Description Usage Arguments Value Examples
This method uses the prototypes specified in protoIdx to predict thresholds of all other (non-prototype indices) in densdat. For each density, it determines the nearest prototype density and calls flAlignThreshold to transfer lower and upper thresholds. Densities in densdat that are prototypes (specified by protoIdx) must have thresholds set. Existing non-prototype thresholds in densdat are replaced by predicted thresholds.
1 | flPredictThresholds(densdat, protoIdx)
|
densdat |
A DensityData object containing prototypes and non-prototypes. Prototypes must have thresholds set. All densities in densdat have to be from the same channel. |
protoIdx |
A set of indices that specify prototype rows in densdat. |
A copy of densdat where non-prototype densities have predicted thresholds set.
1 2 3 4 5 6 | dd <- flFind(flSampleDensdat, population = 'notplasma', channelIdx = 2)
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.