mergeSpecList {CluMSID} | R 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.

[Package CluMSID version 1.2.1 Index]