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

View source: R/rtmsBrukerMCFReader.R

getBrukerMCFSpotsR Documentation

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)

Arguments

reader

An openRTMS reader object of class rtmsBrukerMCFReader

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.

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


rtms documentation built on June 7, 2023, 5:59 p.m.

Related to getBrukerMCFSpots in rtms...