Learn R Programming

MOFA (version 1.3.1)

TrainOptions: TrainOptions: set and retrieve training options

Description

Function to set and retrieve training options.

Usage

TrainOptions(object)

TrainOptions(object) <- value

# S4 method for MOFAmodel TrainOptions(object)

# S4 method for MOFAmodel,list TrainOptions(object) <- value

Arguments

object

a MOFAmodel object.

value

a list with training options

Value

list of training options

Examples

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

Run the code above in your browser using DataLab