Parser for reading Agilent ('.dx') files into R
Usage
read_agilent_dx(
path,
path_out = NULL,
format_out = c("matrix", "data.frame", "data.table"),
data_format = c("wide", "long"),
read_metadata = TRUE
)
Arguments
- path
Path to .dx
file.
- path_out
Path to directory to export unzipped files.
- format_out
Class of output. Either matrix
, data.frame
,
or data.table
.
- data_format
Whether to return data in wide
or long
format.
- read_metadata
Logical. Whether to attach metadata.
Value
A chromatogram in the format specified by format_out
(retention time x wavelength).