getSample.rtmsBrukerBAFReader {rtms}R 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


[Package rtms version 0.2.0 Index]