MsBackendRawFileReader-class: RawFileReader-based backend

MsBackendRawFileReader-classR Documentation

RawFileReader-based backend

Description

The 'MsBackendRawFileReader' inherits all slots and methods from the base 'MsBackendDataFrame' (in-memory) backend. It overrides the base 'mz' and 'intensity' methods as well as 'peaksData' to read the respective data from the original raw data files.

The validator function has to ensure that the files exist and that required column names are present.

The 'backendInitialize' method reads the header data from the raw files and hence fills the 'spectraData' slot.

Author(s)

Christian Panse (2019-2021)

Examples

beRaw <- Spectra::backendInitialize(MsBackendRawFileReader::MsBackendRawFileReader(),
  files = rawrr::sampleFilePath())
beRaw
Spectra::msLevel(beRaw)

fgcz/MsBackendRawFileReader documentation built on March 17, 2024, 12:59 a.m.