cent.xr: Detect regions of interest (regions of m/z vs rt space with...

Description Usage Arguments Value Attribution See Also

View source: R/findPeaks_xcms_wrapper.R

Description

cent.xr A wrapper for xcmsRaw objects. See cent

Usage

1
cent.xr(xr, ppm = 2, prefilter = c(0, 0), maxskip = 0)

Arguments

ppm

numeric the ppm mass error acceptable before a new ROI is initialized. This ppm is allowed on both sides of the mass.

prefilter

numeric a two integer vector. The first indicates the minimum number of peaks an ROI must contain to be retained. The second indicates the minimum intensity those muct be.

maxskip

integer The number of scans an ROI must not contain a peak before clossing the ROI. This is an addition to the original algorithm. Useful for QE data.

Value

A list, one entry for each region of interest.

Attribution

This code was modified from the originally published centWave algorithm [1]. The code was orginally distributed and obtained under the GPL2 license via the xcms software package [2]. The original algorithms depend on the wavelet analysis code included in the MassSpecWavelet package [3]. All code herein was obtained under the GPL2 license and remains under the GPL 3 license or greater.

See Also


nathaniel-mahieu/centWaveP documentation built on May 23, 2019, 12:19 p.m.