Learn R Programming

rtms (version 0.2.0)

getSampleSet.rtmsBrukerMCFReader: Extract a sample set from a Bruker MCF directory

Description

Extracts an RTMS sample object (of class rtmsSampleSet) from a multi- acquisition Bruker MCF directory opened using an RTMS reader object (of class rtmsBrukerMCFReader). A vector numeric indices is used to identify which acquisitions the sample set should be extracted from.

Usage

# S3 method for rtmsBrukerMCFReader
getSampleSet(x, peaks, ...)

getBrukerMCFSampleSet(reader, peaks, indices)

Value

An RTMS sample set object of class rtmsSampleSet

Arguments

x

The MCF reader object

peaks

A list of peak objects of class rtmsPeak

...

Additional parameters

reader

An RTMS reader object of class rtmsBrukerMCFReader

indices

A vector of numeric indices specifying which acquisitions the sample set should be extracted from

Functions

  • getSampleSet(rtmsBrukerMCFReader): The S3 method getSample for objects of class rtmsBrukerMCFReader; calls getBrukerMCFSampleSet