Perfrom peak picking (CentWave) on all traces.

find_peaks(
  data,
  sim_ids,
  sim_names,
  noise,
  peakwidth = c(0.15, 0.5),
  snthresh = 10
)

Arguments

data

MChromatograms object from readSRMData() containing all the sims from your experiment

sim_ids

a integer vector containing the index of each sim traces you want.

sim_names

A character vector containing the names you want to give to each trace.

noise

a numeric vector containg the noise levels for each trace.

peakwidth

numeric(2) with the expected approximate peak width in chromatographic space. Given as a range (min, max) in minutes.

snthresh

numeric(1) defining the signal to noise ratio cutoff.

Value

A data frame with all the peaks found in each trace in long format.

Author

Rico Derks