PeakdetectionParam: Peak detection parameter setup

View source: R/methods-Params.R

PeakdetectionParamR Documentation

Peak detection parameter setup

Description

Peak detection parameter setup

Usage

PeakdetectionParam(
  peakwidth = c(5, 30),
  snthr = 3,
  prefilter = c(3, 100),
  fitgauss = FALSE,
  method.peakdetection = c("centWave", "localMax"),
  method.roi = c("continuous", "aroundMax"),
  method.baseline = c("xcms", "centWaveP"),
  method.smooth = c("Gaussian", "LOESS", "SG")
)

Arguments

peakwidth

'numeric(2)' with the lower and upper bound of the expected peak width.

snthr

'numeric(1)' defining the signal to noise ratio cutoff. Peaks with a signal to noise ratio < 'snthr' are omitted.

prefilter

'numeric(2)' ('c(k, I)'): only regions of interest with at least 'k' centroids with signal '>= I' are returned in the first step.#'

fitgauss

'logical(1)' whether or not a Gaussian should be fitted to each peak.

method.peakdetection

'character(1)' method for peak detection

method.roi

method for finding rois in extracted EICs.

  • [] 'continuous' - traditional centwave roi finding method

  • [] 'aroundMax' - finding local maximums and determing a scan range based on the peakwidth to define the roi range

method.baseline

method for determing baselines, only xcms supported currently

method.smooth

'character(1)' method for smoothing the EICs (Gaussian, LOESS and SG)

Value

an PeakdetectionParam object


ZhuMetLab/MetTracer documentation built on Sept. 11, 2022, 1:11 p.m.