MsBackendRawFileReader-class | R Documentation |
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.
Christian Panse (2019-2021)
beRaw <- Spectra::backendInitialize(MsBackendRawFileReader::MsBackendRawFileReader(),
files = rawrr::sampleFilePath())
beRaw
Spectra::msLevel(beRaw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.