select_model {MOFA2} | R Documentation

## Select a model from a list of trained `MOFA` objects based on the best ELBO value

### Description

Different objects of `MOFA` are compared in terms of the final value of the ELBO statistics and the model with the highest ELBO value is selected.

### Usage

    select_model(models, plot = FALSE)

### Arguments

`models` | a list containing `MOFA` objects.
`plot` | boolean indicating whether to show a plot of the ELBO for each model instance

### Value

A `MOFA` object

[Package MOFA2 version 1.4.0 Index]