mergeSpecList: Merge list of spectra

Description Usage Arguments Value

View source: R/extract_merge.R

Description

mergeSpecList() is an accessory function used only inside mergeMS2spectra.

Usage

1
mergeSpecList(speclist, tolerance = 1e-05)

Arguments

speclist

A list of MS2spectrum objects to be merged.

tolerance

The m/z tolerance to be used for merging.

Value

A list of the same length as speclist containing merged spectra as MS2spectrum objects. If multiple spectra contribute to one consensus spectrum, than this consensus spectrum is contained in the list multiple times at the respective positions of the contributing spectra.


CluMSID documentation built on Nov. 8, 2020, 7:46 p.m.