Learn R Programming

chromConverter (version 0.12.0)

read_mdf: Read 'Lumex' MDF

Description

Reads 'Lumex' .mdf files.

Usage

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

Value

A chromatogram in the format specified by the format_out and data_format arguments.

Arguments

path

The path to a 'Lumex' .mdf 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.

Author

Ethan Bass

Examples

Run this code
if (FALSE) {
read_mdf("path/to/file.mdf")
}

Run the code above in your browser using DataLab