pickingPeaks: pickingPeaks

View source: R/pickingPeaks.r

pickingPeaksR Documentation

pickingPeaks

Description

pickingPeaks

Usage

pickingPeaks(
  df,
  col = "mz",
  signalPercentage = 10,
  nPoints = 0,
  refineMz = "descendPeak",
  method = "MAD"
)

Arguments

df

a dataframe containing two columns: "mz" and "intensity" corresponding respectively to abscissa and ordinates.

col

name of the column containing the abscissa ("mz" by default)

signalPercentage

of the centroid's intensity are used to calculate the refined m/z. By default the descend is stopped when the first signal that is equal or larger than the last observed one is encountered.

nPoints

n points required for smoothing (see sgolayfilt)

refineMz

"descendPeak" (see MSn base::pickPeaks)

method

"MAD"


ChemoSens/PTRMSR documentation built on June 15, 2025, 10:40 a.m.