AnalysisResults-class {ASICS} | R Documentation

## Class AnalysisResults

### Description

Objects of class AnalysisResults contains results of analyses performed with the functions `pca`, `oplsda` and `kruskalWallis`.

### Slots

`type.analysis`

  Name of the analysis (e.g., `"PCA"`, `"OPLS-DA"`, ...).

`type.data`

  Type of data used for the analyses (e.g., `"quantification"`, `"buckets"`...).

`dataset`

  The object of type `SummarizedExperiment` used for the analysis.

`results`

  Results of the analysis. Can be a data frame for test results or an object of class `opls` from `ropls` for PCA and OPLS-DA.

`best.model`

  Best model (only for OPLS-DA analyses).

`cv.error`

  Cross validation error (only for OPLS-DA analyses).

`mean.by.group`

  Data frame with means by group and a variable indicating if there is a significant difference between groups for tests and if the VIP associated to the variable is superior to the given threshold for OPLS-DA.

### Methods

Multiple methods can be applied on AnalysisResults objects.

- As usual for S4 object, show and summary methods are available, see Object summary

- All slots have an accessor `get_slot name`, see Accessors

- All results contained in an object can be represent in a plot, see Visualisation methods

[Package ASICS version 1.0.1 Index]