Skip to contents

Attaches metadata to chromatogram

Usage

attach_metadata(
  x,
  meta,
  format_in,
  format_out,
  data_format,
  parser = NULL,
  source_file
)

Arguments

x

chromatogram

meta

List object containing metadata.

format_in

Chromatogram format

format_out

R format. Either matrix or data.frame.

data_format

Whether data is in wide or long format.

parser

What parser was used to decode the data.

source_file

The path to the source file.

Value

A chromatogram with attached metadata.

Author

Ethan Bass