R/ChromBackendMemory-functions.R
, R/ChromBackendMemory.R
ChromBackendMemory.Rd
ChromBackendMemory
: This backend stores chromatographic data directly
in memory, making it ideal for small datasets or testing. It can be
initialized with a data.frame
of chromatographic data via the chromData
parameter and a list
of data.frame
entries for peaks data using the
peaksData
parameter. These data can be accessed with the chromData()
and
peaksData()
functions.
ChromBackendMemory()
# S4 method for class 'ChromBackendMemory'
backendInitialize(
object,
chromData = fillCoreChromVariables(data.frame()),
peaksData = list(.EMPTY_PEAKS_DATA)
)
A ChromBackendMemory
object.
For backendInitialize()
of a ChromBackendMemory
backend,
a data.frame
with the chromatographic data. If not provided
(or if empty), a default data.frame
with the core chromatographic
variables will be created.
For backendInitialize()
of a ChromBackendMemory
backend,
a list
of data.frame
with the peaks data. If not provided (or if
empty), a default list
of empty data.frame
with the core peaks
variables will be created. The length of the list should match the number
of chromatograms in the chromData
parameter.