Reads 'Analytical Data Interchange' (ANDI) netCDF (.cdf) files.
Arguments
- path
Path to ANDI netCDF file.
- format_out
Class of output. Either
matrix,data.frame, ordata.table.- data_format
Whether to return data in
wideorlongformat. For 2D files, "long" format returns the retention time as the first column of the data.frame or matrix while "wide" format returns the retention time as the rownames of the object. This argument applies only to 2D chromatograms, since MS data will always be returned in long format.- what
For
ANDI chromfiles, whether to extractchromsand/orpeak_table. ForANDI msfiles, whether to extract MS1 scans (MS1) or the total ion chromatogram (TIC).- read_metadata
Whether to read metadata from file.
- metadata_format
Format to output metadata. Either
chromconverterorraw.- collapse
Logical. Whether to collapse lists that only contain a single element.
- ...
Additional arguments to parser. The
ms_formatargument can be used here to specify whether to return mass spectra inlistformat or as adata.frame.
