test_peak_picking: Test peak picking

View source: R/functions_preprocessing.R

test_peak_pickingR Documentation

Test peak picking

Description

Function to test peak picking parameters on a data subset

Usage

test_peak_picking(
  data,
  mz_range,
  rt_range,
  p_width,
  snt,
  noise,
  prefilter = c(1, 100)
)

Arguments

data

An MSnExp object in centroid mode.

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

mz.range

mz range (numeric(2)) to test peak picking parameters.

rt.range

rt range (numeric(2)) to test peak picking parameters.

p.width

Minium and maximum allowed peak width


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