View source: R/read_agilent_d.R
read_agilent_d | R Documentation |
Reads files from 'Agilent' .D
directories.
read_agilent_d(
path,
what = c("chroms", "dad", "peak_table"),
format_out = c("matrix", "data.frame", "data.table"),
data_format = c("wide", "long"),
read_metadata = TRUE,
metadata_format = c("chromconverter", "raw"),
collapse = TRUE
)
path |
Path to |
what |
Whether to extract chromatograms ( |
format_out |
Class of output. Either |
data_format |
Whether to return data in |
read_metadata |
Logical. Whether to attach metadata. |
metadata_format |
Format to output metadata. Either |
collapse |
Logical. Whether to collapse lists that only contain a single element. |
A list of chromatograms in the format specified by
data_format
and #' format_out
. If data_format
is
wide
, the chromatograms will be returned with retention times as rows
and columns containing signal intensity for each signal. If long
format is requested, retention times will be in the first column. The
format_out
argument determines whether the chromatogram
is returned as a matrix
, data.frame
or data.table
.
Metadata can be attached to the chromatogram as attributes
if
read_metadata
is TRUE
.
Ethan Bass
Other 'Agilent' parsers:
read_agilent_dx()
,
read_chemstation_ch()
,
read_chemstation_csv()
,
read_chemstation_ms()
,
read_chemstation_reports()
,
read_chemstation_uv()
read_agilent_d("tests/testthat/testdata/RUTIN2.D")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.