fhStart: Calculate the where to start analysis for a 'FlowHist'...

View source: R/FlowHist.R

fhStartR Documentation

Calculate the where to start analysis for a FlowHist histogram

Description

We exclude the first five bins at the outset (as part of the function setBins. For some flow cytometers, these values contain very high spikes that are an artifact of compensation, and are not useful data.

Usage

fhStart(intensity)

Arguments

intensity

numeric, the fluorescence intensity channel bins

Details

After that, we call fhStart to skip to the highest value in the first 10 non-zero bins, and ignore everything below that. The motivation here is the same - to get out beyond the noisy bins and into the actual data we're trying to fit.

Value

an integer, the index of the first intensity element to include in the actual model fitting. That is, everything from startBin to the end of intensity gets fit in the model, everything below startBin is ignored.

Author(s)

Tyler Smith


plantarum/flowPloidy documentation built on March 25, 2023, 1:37 a.m.