Learn R Programming

chromConverter (version 0.12.0)

read_waters_raw: Read 'Waters' RAW

Description

Reads 'Waters MassLynx' (.raw) files into R.

Usage

read_waters_raw(
  path,
  format_out = c("matrix", "data.frame", "data.table"),
  data_format = c("wide", "long"),
  read_metadata = TRUE,
  metadata_format = c("chromconverter", "raw")
)

Value

A list of 2D chromatograms, one per trace and named by it, in the format specified by format_out and data_format.

Arguments

path

Path to Waters .raw 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.

metadata_format

Format to output metadata. Either chromconverter (standardized field names) or raw (vendor field names, unmapped).

Author

Ethan Bass

See Also

Other 'Waters' parsers: read_waters_arw()

Examples

Run this code
if (FALSE) {
read_waters_raw("path/to/file.raw")
}

Run the code above in your browser using DataLab