Dulce_pickGroupPeaks: Pick and Group Peaks

View source: R/AnnotateMS1.r

Dulce_pickGroupPeaksR Documentation

Pick and Group Peaks

Description

This function picks and groups peaks using the findChromPeaks() and groupChromPeaks() functions from the xcms package.

Usage

Dulce_pickGroupPeaks(data, cwp = NULL, pdp = NULL, return_everything = F)

Arguments

data

XCMSnExp object.

cwp

CentWaveParam() object. If not given, default CentWaveParam() values are used.

pdp

PeakDensityParam() object. If not given, default PeakDensityParam() values are used.

return_everything

Logical value.

Value

If return_everything is set to FALSE (default), a XCMSnExp object is returned. If TRUE, a list with (1) XCMSnExp object, (2) chromPeaks data.frame and (3) featureDefinitions data.frame, is returned.

Examples

# Examples have to be made with a toy data object.


margotbligh/Dulce documentation built on May 15, 2022, 10:51 a.m.