MergeTwoMassAxis: MergeTwoMassAxis.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Merges two mass axis in a single one using an apropiate bin size. The resulting mass axis will display a bin size equal to the minimum of two supplied vectors. The bin size is calculated relative to the m/z for better accuracy. The resulting mass axis range is calculated using the common range between the two mass axis. If there is no overlao between the two mass axis range an error will be raised.

Usage

1
MergeTwoMassAxis(mz1, mz2)

Arguments

mz1

the first mass axis to merge.

mz2

the second mass axis to merge.

Value

a list containing the common mass axis that represents mz1 and mz1 accurately and a boolean indicating if and error was raised.


prafols/rMSIproc documentation built on Dec. 12, 2021, 7:31 p.m.