databaseClass-class | R Documentation |
The 'databaseClass' S4 class is designed to store and manage information related to spectral databases. It contains slots for database metadata, spectra information, and the actual spectral data.
This class is used to manage and organize spectral data within a larger analytical pipeline. The 'database.info' slot stores high-level metadata, while 'spectra.info' and 'spectra.data' contain details and the actual spectral information, respectively.
database.info
A list containing metadata or general information about the database.
spectra.info
A data frame that holds information about each spectrum, such as identifiers or attributes. The data frame is initialized empty.
spectra.data
A list where each element corresponds to a spectrum's data.
# Creating an instance of the databaseClass
db_instance <- new("databaseClass")
# Accessing slots
db_instance@database.info
db_instance@spectra.info
db_instance@spectra.data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.