Learn R Programming

rtms (version 0.2.0)

getSample.rtmsBrukerMCFReader: Extract a sample from a Bruker MCF directory

Description

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

Usage

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

getBrukerMCFSample(reader, peaks, index)

Value

An RTMS sample object of class rtmsSample

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

index

A single numeric index specifying which acquisition the sample set should be extracted from

Functions

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