apply_peak_picking: Apply Peak Picking

View source: R/functions_preprocessing.R

apply_peak_pickingR Documentation

Apply Peak Picking

Description

Function to apply peak picking parameters on a data subset

Usage

apply_peak_picking(
  data,
  method,
  ppm = 25,
  p_width = c(20, 50),
  snt = 3,
  noise = 1e+06,
  prefilter = c(1, 100),
  mz_diff = 0.001,
  bin = 0.1,
  fwhm = 30,
  sigma = 12.72,
  max = 10,
  steps = 2
)

Arguments

data

An MSnExp object in centroid mode.

p_width

Minium and maximum allowed peak width.

snt

Minimum signal-to-noise threshold allowed.

noise

Noise threshold.

prefilter

Prefilter step cutoff (c(k, I)). Mass will be retained if they contain at least k peaks with intensity >= I.


Coayala/MetaboTandem documentation built on April 7, 2024, 3:39 a.m.