read_cdf {chromConverter} | R Documentation |
Read CDF
Description
Reads 'Analytical Data Interchange' (ANDI) netCDF (.cdf
) files.
Usage
read_cdf(
path,
format_out = c("matrix", "data.frame", "data.table"),
data_format = c("wide", "long"),
what = NULL,
read_metadata = TRUE,
metadata_format = c("chromconverter", "raw"),
collapse = TRUE,
...
)
Arguments
path |
Path to ANDI netCDF file. |
format_out |
Class of output. Either |
data_format |
Whether to return data in |
what |
For ANDI chrom files, whether to extract |
read_metadata |
Whether to read metadata from file. |
metadata_format |
Format to output metadata. Either |
collapse |
Logical. Whether to collapse lists that only contain a single element. |
... |
Additional arguments to parser. The |
Value
A chromatogram in the format specified by the format_out
and
data_format
arguments.
Author(s)
Ethan Bass