| accessors-methods {ASICS} | R Documentation |
List of available accessors for each slot of all S4 classes present in the package.
## S4 method for signature 'Spectra' getSampleName(object) ## S4 method for signature 'Spectra' getPpmGrid(object) ## S4 method for signature 'Spectra' getSpectra(object) ## S4 method for signature 'ASICSResults' getReconstructedSpectra(object) ## S4 method for signature 'ASICSResults' getQuantification(object) ## S4 method for signature 'ASICSResults' getDeformedLibrary(object) ## S4 method for signature 'AnalysisResults' getTypeAnalysis(object) ## S4 method for signature 'AnalysisResults' getTypeData(object) ## S4 method for signature 'AnalysisResults' getDataset(object) ## S4 method for signature 'AnalysisResults' getResults(object) ## S4 method for signature 'AnalysisResults' getBestModel(object) ## S4 method for signature 'AnalysisResults' getCVError(object) ## S4 method for signature 'AnalysisResults' getMeanByGroup(object) ## S4 method for signature 'PureLibrary' getNbProtons(object)
object |
An object of class Spectra, PureLibrary, ASICSResults or AnalysisResults. |
The wanted accessor
# Import data and create object
current_path <- file.path(system.file("extdata", package = "ASICS"),
"spectra_example.txt")
spectra_data <- read.table(current_path, header = TRUE, row.names = 1)
spectra_obj <- createSpectra(spectra_data)
# Sample names
getSampleName(spectra_obj)
# Spectra
getSpectra(spectra_obj)