peaks {MethodOpt}R Documentation

Peak searching algorithm without retention times

Description

Returns the maxima, the times they occur at, the index location of the maxima, and the next viable peaks with times after the first 'keep'.

Usage

peaks(
  data,
  begin_search = NULL,
  end_search = NULL,
  keep = 11,
  precision = 15,
  factor = 10,
  bl_noise = 0
)

Arguments

data

time versus intensity dataframe.

begin_search

time at which to start the search for the peaks.

end_search

time at which to stop the search for the peaks.

keep

a whole number indicating how many peaks to search for and return.

precision

an integer indicating the size of the window for searching for local maxima.

factor

constant of proportionality indicating the cutoff peak height (i.e., peaks greater than 'factor' times height are not returned as viable peaks).

bl_noise

constant level at which response should be considered as noise.

Value

list containing spectra maxima,the times they occur at, the index location of the maxima, and the the same info for the next viable peaks with times after the first 'keep'.


[Package MethodOpt version 1.0.0 Index]