Learn R Programming

peakPick (version 0.11)

helperpeak: helper function for small peak elimination

Description

helper function for small peak elimination

Usage

helperpeak(thepos, vec, nsd, npos)

Arguments

thepos
integer position of peak in vector vec
vec
vector of values for peakdetection
nsd
numeric minimum number of standard deviations for a peak to rise above the mean of its immediate vicinity in order to be considered for a peak call
npos
integer value, peak size will be estimated plus/minus npos positions from peak

Value

boolean TRUE if the peak at position thepos is to be deleted