Learn R Programming

peakPick (version 0.11)

smallpeaks: delete small peaks from vector with peak candidates

Description

delete small peaks from vector with peak candidates

Usage

smallpeaks(vec, candidates, nsd, npos)

Arguments

vec
vector of values for peak detection
candidates
boolean vector of peak candidates
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 vector of peak candidates with small peaks eliminated