getELBO {MOFA} | R Documentation

## getELBO

### Description

Extract the value of the ELBO statistics after model training. This can be useful for model selection.

### Usage

    getELBO(object)

### Arguments

`object` | a `MOFAmodel` object.

### Value

value of the ELBO statistic at end of training

### Examples

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

[Package MOFA version 1.6.2 Index]