Learn R Programming

MOFA (version 1.3.1)

ModelOptions: ModelOptions: set and retrieve model options

Description

Function to set and retrieve model options.

Usage

ModelOptions(object)

ModelOptions(object) <- value

# S4 method for MOFAmodel ModelOptions(object)

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

Arguments

object

a MOFAmodel object.

value

a list with model options

Value

list of model options

Examples

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

Run the code above in your browser using DataLab