buildVECTOR: Build a vector for a peak-group using peaks _m/z_ and...

Description Usage Arguments Value

View source: R/functions-alignPEAKS_helpers.R

Description

Function builds a vector for a peak-group using peaks m/z and intensity values. Function is used to compare multiple peak-groups. A vector is build for each peak-group separately using full m/z range, which includes all peaks from all peak-groups being compared.

Usage

1
buildVECTOR(spec, peaks)

Arguments

spec

data.frame with columns 'mz', 'bin' and 'into'. Contains a full range of m/z values of all peak-groups that are being compared.

peaks

data.frame with columns 'mz', 'bin' and 'into' for peaks in a single peak-group.

Value

Function returns a numeric vector representing peaks of a single peak-group.


lauzikaite/massFlowR documentation built on April 29, 2020, 9:45 a.m.