ModelOptions: ModelOptions: set and retrieve model options

Description Usage Arguments Value Examples

Description

Function to set and retrieve model options.

Usage

1
2
3
4
5
6
7
8
9
ModelOptions(object)

ModelOptions(object) <- value

## S4 method for signature 'MOFAmodel'
ModelOptions(object)

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

Arguments

object

a MOFAmodel object.

value

a list with model options

Value

list of model options

Examples

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

bioFAM/MOFA documentation built on Oct. 3, 2020, 12:53 a.m.