getELBO: getELBO

Description Usage Arguments Value Examples

View source: R/getMethods.R

Description

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

Usage

1
getELBO(object)

Arguments

object

a MOFAmodel object.

Value

value of the ELBO statistic at end of training

Examples

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

MOFA documentation built on Feb. 11, 2021, 2:01 a.m.