getBrukerBAFSample: Extract a sample from a Bruker BAF directory

View source: R/rtmsBrukerBAFReader.R

getSample.rtmsBrukerBAFReaderR Documentation

Extract a sample from a Bruker BAF directory

Description

Extracts an RTMS sample object (of class rtmsSample) from a single acquisition Bruker BAF directory opened using an RTMS reader object (of class rtmsBrukerBAFReader). Because a BAF directory only contains one spectrum, no additional parameters are needed to specify the spectrum from which to take the sample.

Usage

## S3 method for class 'rtmsBrukerBAFReader'
getSample(x, peaks, ...)

getBrukerBAFSample(reader, peaks)

Arguments

x

The BAF reader object

peaks

A list of peak objects of class rtmsPeak

...

Additional parameters

reader

An RTMS reader object of class rtmsBrukerBAFReader

Value

An RTMS sample object of class rtmsSample

Functions

  • getSample(rtmsBrukerBAFReader): The S3 method getSample for objects of class rtmsBrukerBAFReader; calls getBrukerBAFSample


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