Learn R Programming

rtms (version 0.2.0)

getBrukerMCFSpots: Get spot names and indices from a Bruker MCF file

Description

Assembles a table of all acquisitions in a Bruker MCF file; Bruker measurements are often identified by the metadata parameter "Spot Number", so this function extracts that specific metadata value and joins it with the indices used to pick out spectra in other functions. Also retrieves the timestamp at which acquisition was taken, if acquisitions must be identified by order.

Usage

getBrukerMCFSpots(reader)

getBrukerMCFIndices(reader)

Value

A data.frame with an Index column containing the indices of each acquisition (used by other functions such as getSpectrum or getSample), a SpotNumber column containing the "Spot Number" metadata value for each acquisition, and a Timestampe column containing the time at which each acquisition was collected by the instrument.

Arguments

reader

An openRTMS reader object of class rtmsBrukerMCFReader

Functions

  • getBrukerMCFIndices(): Retrieves a vector of all the indices (beginning with zero) of the acquisitions in the MCF file. Faster than getBrukerMCFSpots but contains no metadata or spot names