Skip to contents

The function collects spectral data and metadata from an mzML file with mzR package. Data are transformed to data.table in long format.

Usage

mzml_to_dt(filename, chunksize = 10000)

Arguments

filename

Path name of the netCDF, mzXML or mzML file to read/write.

chunksize

size (number of scans) for each chunk to be retrieved from the mzML file.

Value

A data.table object containing the spectra

See also

mzml_to_sample_dataset to convert mzML data to sample_dataset object.