readFileHeader {rawrr}R Documentation

read file header Information

Description

The function extracts meta information from a given rawfile.

Usage

readFileHeader(rawfile)

Arguments

rawfile

the name of the Thermo Fisher Scietific raw file

Value

A list object containing the following entries: RAW file version, Creation date, Operator, Number of instruments, Description, Instrument model, Instrument name, Serial number, Software version, Firmware version, Units, Mass resolution, Number of scans, Number of ms2 scans, Scan range, Time range, Mass range, Scan filter (first scan), Scan filter (last scan), Total number of filters, Sample name, Sample id, Sample type, Sample comment, Sample vial, Sample volume, Sample injection volume, Sample row number, Sample dilution factor, or Sample barcode.

Author(s)

Tobias Kockmann and Christian Panse 2018, 2019, 2020.

References

Thermo Fisher Scientific's NewRawfileReader C# code snippets https://planetorbitrap.com/rawfilereader.

Examples

(rawfile <- file.path(path.package(package = 'rawrr'), 'extdata',
  'sample.raw'))

M <- readFileHeader(rawfile)

[Package rawrr version 1.0.3 Index]