
Convert mzML (or mzXML) file to sample_dataset
Source:R/mzml_to_parquet.R
mzml_to_sample_dataset.Rd
The function collects spectral data and metadata from an mzML file with mzR package. Data are transformed to data.table and saved in a sample_dataset object. Metadata are arranged as a data.frame and passed to sample_metadata slot.
Value
A sample_dataset
object containing the sample spectra
and sample metadata datatables.
See also
convert_mzml_to_parquet
to directly save converted data to Parquet file.