MergeMassAxis: MergeMassAxis.

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 must be supplied along each input mass axis. The first mass axis (mz1) can be a zero-length vector.

Usage

1
MergeMassAxis(mz1, bins1, mz2, bins2)

Arguments

mz1

the first mass axis to merge.

bins1

the bins size for the first mass axis.

mz2

the second mass axis to merge.

intensity2

the spectral intensities corresponding to the second mass axis.

Value

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


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.