Read CDF file
Arguments
- file
Path to file.
- format_out
R format. Either
matrix
ordata.frame
.- 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
Whether to extract
chromatogram
and/orpeak_table
.- 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
.