retrieveSpectrum: Extractor of the mass peaks corresponding to a certain...

Description Usage Arguments Value Author(s) See Also

View source: R/Biotransformations.R

Description

Function retrieveSpectrum extracts the mass peaks of a certain spectrum provided a dataframe where the spectrum labels are in a column called pcgroup.

Usage

1

Arguments

spectrumNumber

The spectrum ID number whose peaks we want to retrieve.

sigPeaksTable

A dataframe containing the peak data in rows. There should be a column called pcgroup containing the spectra correspondence for all the peaks and the firts column should contain the peak masses.

Value

A numeric vector containing the peak masses of the queried spectrum.

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

Biotransformations


MAIT documentation built on Nov. 8, 2020, 5:43 p.m.