cleanPEAKS: Clean peak table from duplicating peaks

Description Usage Arguments Value

View source: R/utils.R

Description

Return a single entry for every duplicated peak (i.e. peak with the same emphm/z and rt values).

Usage

1
cleanPEAKS(rn, dt_unique, dt)

Arguments

rn

numeric specifying a single row number (rowname) of the peak table.

dt_unique

data.frame with unique peaks' m/z and rt values, with as many rows, as there are unique peaks.

dt

data.frame object containing the peak table from which duplicated peaks should be removed.

Value

Function returns a single peak entry for the unique m/z and rt combination.


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