getBrukerMCFSpots {rtms} | R 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 |
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 thangetBrukerMCFSpots
but contains no metadata or spot names