grabSpectraPremz: Extract the precursor mass from the spectra of an mzML...

View source: R/grabMzmlFunctions.R

grabSpectraPremzR Documentation

Extract the precursor mass from the spectra of an mzML nodeset

Description

Extract the precursor mass from the spectra of an mzML nodeset

Usage

grabSpectraPremz(xml_nodes)

Arguments

xml_nodes

An xml_nodeset object corresponding to the spectra collected by the mass spectrometer, usually produced by applying 'xml_find_all' to an MS1 or MS2 nodeset.

Value

A numeric vector of precursor masses, one for each scan


RaMS documentation built on Dec. 28, 2022, 2:26 a.m.