TrainStats {MOFA} | R Documentation

## TrainStats: set and retrieve training statistcs

### Description

Function to set and retrieve taining statistics

### Usage

    TrainStats(object)

    TrainStats(object) <- value

    ## S4 method for signature 'MOFAmodel'
    TrainStats(object)

    ## S4 replacement method for signature 'MOFAmodel,list'
    TrainStats(object) <- value

### Arguments

`object` | a `MOFAmodel` object.
`value` | list of different training statistics (EBLO, number of factors)

### Value

list of different training statistics (EBLO, number of factors)

### Examples

    # load a trained MOFAmodel object
    filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
    MOFAobject <- loadModel(filepath)
    str(TrainStats(MOFAobject))

[Package MOFA version 1.0.0 Index]