Learn R Programming

RaMS (version 1.4.3)

grabMzxmlSpectraRt: Extract the retention time from the spectra of an mzXML nodeset

Description

Extract the retention time from the spectra of an mzXML nodeset

Usage

grabMzxmlSpectraRt(xml_nodes)

Value

A numeric vector of retention times, one for each scan

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.