getpeaks2: getpeaks2

View source: R/Functions_peakPicking.R

getpeaks2R Documentation

getpeaks2

Description

find and then merge peaks for an EIC object. wrapper function for find_peaks2() and mergepeaks2()

Usage

getpeaks2(
  EIC,
  findProps = list(SN = 1, minwidth = 4, localNoise = 7, localNoiseFactor = 0.5,
    globalNoiseFactor = 0.5, extend = T),
  mergeProps = list(rttol = 3, minint = 0, minrelint = 0, topN = 100)
)

Arguments

EIC

a single EIC object (list item of multiEIC output), or a list of EIC items (multiEIC output)

findProps

named list of arguments passed to find_peaks2()

mergeProps

named list of arguments passed to mergepeaks2()

Details

Columns of the returned data.table:

  • rt retention time of peak maximum, average across merged peaks, weighted by peak intensity

  • rtmin retention time of peak start, average across merged peaks, weighted by peak intensity

  • rtmax retention time of peak end, average across merged peaks, weighted by peak intensity

  • maxint maximum intensity of peak

  • file file names, separated by "|"

Value

a data.frame with information on peak position in EICs, or a list of such data.frames if EIC is a list of EIC matrices (e.g. EICs for multiple mz values)


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.