addERRS: Add peak matching error windows using user-defined _m/z_ and...

Description Usage Arguments Value

View source: R/functions-alignPEAKS_helpers.R

Description

Function adds lower and higher values for m/z and rt values for each peak in the table.

Usage

1
addERRS(dt, mz_err, rt_err)

Arguments

dt

data.frame

mz_err

numeric specifying error value for m/z.

rt_err

numeric specifying error value for rt.

Value

Function returns original data.frame with additional columns 'mz_l', 'mz_h', 'rt_l' and 'rt_h'.


lauzikaite/massflowR documentation built on April 27, 2020, 5:32 p.m.