mergeSpecList: Merge list of spectra

View source: R/extract_merge.R

mergeSpecListR Documentation

Merge list of spectra

Description

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

Usage

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.


tdepke/CluMSID documentation built on April 10, 2022, noon