getBrukerMCFSample: Extract a sample from a Bruker MCF directory

View source: R/rtmsBrukerMCFReader.R

getSample.rtmsBrukerMCFReaderR Documentation

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 class 'rtmsBrukerMCFReader'
getSample(x, peaks, ...)

getBrukerMCFSample(reader, peaks, index)

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

Value

An RTMS sample object of class rtmsSample

Functions

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


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