grabMzmlDAD: Extract the DAD data from an mzML nodeset

View source: R/grabMzmlFunctions.R

grabMzmlDADR Documentation

Extract the DAD data from an mzML nodeset

Description

Extract the DAD data from an mzML nodeset

Usage

grabMzmlDAD(xml_data, rtrange, file_metadata)

Arguments

xml_data

An 'xml2' nodeset, usually created by applying 'read_xml' to an mzML file.

rtrange

A vector of length 2 containing an upper and lower bound on retention times of interest. Providing a range here can speed up load times (although not enormously, as the entire file must still be read) and reduce the final object's size.

file_metadata

Information about the file used to decode the binary arrays containing m/z and intensity information.

Value

A 'data.table' with columns for retention time (rt), wavelength (lambda), and intensity (int).


RaMS documentation built on Oct. 9, 2024, 9:06 a.m.