Learn R Programming

chromConverter (version 0.12.0)

read_chemstation_csv: Read 'Agilent ChemStation' CSV files

Description

Reads 'Agilent ChemStation' .csv files.

Usage

read_chemstation_csv(
  path,
  format_out = "matrix",
  data_format = "wide",
  read_metadata = TRUE
)

Value

A chromatogram in the format specified by format_out and data_format.

Arguments

path

Path to 'Agilent' .csv file.

format_out

Class of output. Either matrix, data.frame, or data.table.

data_format

Whether to return data in wide (default) or long format.

read_metadata

Logical. Whether to attach metadata. Defaults to TRUE. The files record no instrument metadata, so only the settings chromConverter used to parse the file are attached.

Author

Ethan Bass

Details

'Agilent ChemStation' CSV files are encoded in UTF-16.

See Also

Other 'Agilent' parsers: read_agilent_d(), read_agilent_dx(), read_agilent_rslt(), read_chemstation_ch(), read_chemstation_logs(), read_chemstation_method(), read_chemstation_ms(), read_chemstation_reports(), read_chemstation_uv()

Examples

Run this code
if (FALSE) { # interactive()
read_chemstation_csv("tests/testthat/testdata/dad1.csv")
}

Run the code above in your browser using DataLab