accessors-methods {ASICS} | R Documentation

## Accessors

### Description

List of available accessors for each slot of all S4 classes present in the package.

### Usage

    ## 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 'Spectra'
    getNormMethod(object)

    ## S4 method for signature 'Spectra'
    getNormParams(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)

### Arguments

`object` | An object of class Spectra, PureLibrary, ASICSResults or AnalysisResults.

### Value

The wanted accessor

### Examples

    # 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)

[Package ASICS version 2.6.1 Index]