Skip to contents

Read MDF files into R

Usage

read_mdf(
  file,
  format_out = c("matrix", "data.frame"),
  data_format = c("wide", "long"),
  read_metadata = TRUE
)

Arguments

file

The path to a 'Lumex' .mdf file.

format_out

R format. Either matrix or data.frame.

data_format

Whether to return data in wide or long format.

read_metadata

Whether to read metadata from file.

Value

A chromatogram in the format specified by the format_out and data_format arguments (retention time x wavelength).

Author

Ethan Bass