Learn R Programming

MOFA (version 1.3.1)

TrainStats: TrainStats: set and retrieve training statistcs

Description

Function to set and retrieve taining statistics

Usage

TrainStats(object)

TrainStats(object) <- value

# S4 method for MOFAmodel TrainStats(object)

# S4 method for 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

Run this code
# NOT RUN {
# load a trained MOFAmodel object
filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
MOFAobject <- loadModel(filepath)
str(TrainStats(MOFAobject))
# }

Run the code above in your browser using DataLab