getBrukerMCFSampleSet: Extract a sample set from a Bruker MCF directory

View source: R/rtmsBrukerMCFReader.R

getSampleSet.rtmsBrukerMCFReaderR Documentation

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

getBrukerMCFSampleSet(reader, peaks, indices)

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

Value

An RTMS sample set object of class rtmsSampleSet

Functions

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


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