Parser for Analytical Data Interchange (ANDI) netCDF 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
wide
orlong
format. 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.- what
For ANDI chrom files, whether to extract
chroms
and/orpeak_table
. For ANDI ms files, 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
chromconverter
orraw
.- collapse
Logical. Whether to collapse lists that only contain a single element.
- ...
Additional arguments to parser. The
ms_format
argument can be used here to specify whether to return mass spectra inlist
format or as adata.frame
.