Learn R Programming

cytofkit (version 1.4.4)

peakDetect: Automatic peak detection

Description

Automatic detect peaks by searching high denisty point with anomalous large distance to higher denisty peaks. rho and delta are transformed to one index, and the anomalous peaks are detected using generalized ESD method.

Usage

peakDetect(rho, delta, alpha = 0.001)

Arguments

rho
A vector of the local density, outout of localDensity
delta
A vector of distance to closest observation of higher density
alpha
The level of statistical significance for peak detection.

Value

  • a vector containing the indexes of peaks