Skip to contents

Converts a single chromatogram from ChemStation .uv format to R data.frame.

Usage

uv_converter(
  file,
  format_out = c("matrix", "data.frame"),
  data_format = c("wide", "long"),
  correction = TRUE,
  read_metadata = TRUE,
  metadata_format = c("chromconverter", "raw")
)

Arguments

file

path to file

format_out

R format. Either matrix or data.frame.

data_format

Whether to return data in wide or long format.

correction

Logical. Whether to apply empirical correction. Defaults is TRUE.

read_metadata

Logical. Whether to read metadata and attach it to the chromatogram.

metadata_format

Format to output metadata. Either chromconverter or raw.

Value

A chromatogram in data.frame format (retention time x wavelength).

Details

Uses the Aston file parser.