grabSpectraVoltage: Extract the collison energies from the spectra of an mzML...

View source: R/grabMzmlFunctions.R

grabSpectraVoltageR Documentation

Extract the collison energies from the spectra of an mzML nodeset

Description

Although the collision energy is typically fixed per file, it's equally fast (afaik) to just grab them all individually here. Also, I'm worried about these rumors of "ramped" collision energies

Usage

grabSpectraVoltage(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 collision energies, one for each scan.


RaMS documentation built on May 29, 2024, 8:46 a.m.