nAdjPeaks: remove lower intensity adjacent peaks

Description Usage Arguments Value

View source: R/nAdjPeaks.R

Description

remove lower intensity adjacent peaks

Usage

1
nAdjPeaks(peaksTmp = NULL, troughsTmp = NULL, peakRangeTmp = NULL)

Arguments

peaksTmp

character vector with indices of detected peaks from findPeaks

troughsTmp

character vector with indices of detected troughs from findPeaks

peakRangeTmp

matrix of the peak range data with at least 3 columns (1. mass-to-charge, 2. intensity, 3. retention time)

Value

peaksTmp but with lower intensity adjacent peaks between the same troughs removed


adductomicsR documentation built on Nov. 8, 2020, 4:49 p.m.