get_mzxml_spectra: Retrieve MS1 spectra from a mzXML file

View source: R/get_mzxml_spectra.R

get_mzxml_spectraR Documentation

Retrieve MS1 spectra from a mzXML file

Description

Retrieve all MS1 spectra from a mzXML file.

Usage

get_mzxml_spectra(file)

Arguments

file

mzXML file

Details

This is first version for retrieving spectra from mzXML files. For now it only works on MS1 data, there is no error checking. It assumes that the presicion is 64bit, endian is network and the compression is zlib.

Value

The function returns a list of spectra. A spectrum is a matrix where the first column is m/z and the second column is intensity.

Author(s)

Rico Derks


ricoderks/Rcpm documentation built on May 18, 2022, 7:49 a.m.