ms2AddId2: Add MS1 ID to MS2 spectra

Description Usage Arguments Value Author(s)

View source: R/utils_ms2.R

Description

ms2AddId2 allows to add MS1 IDs, e.g. "Cluster_0001" to the respective MS2 data present in a <code>Spectra</code> object. This allows to link MS1 and MS2 data.

Usage

1
ms2AddId2(x, spectra, tolerance = 0, ppm = 0, rtimeTolerance = 0)

Arguments

x

list List with data read from .gda file containing grouped MS1 cluster

spectra

Spectra Spectra object containing MS2 spectra to be matched with the MS1 data

tolerance

numeric Absolute tolerance

ppm

numeric relative tolerance

rtimeTolerance

numeric Retention time tolerance

Value

Spectra with the additional column CLUSTER_ID.

Author(s)

Michael Witting


michaelwitting/genedataRutils documentation built on April 30, 2021, 5:11 p.m.