Expectations {MOFA} | R Documentation |
Function to set and retrieve expectations of model components.
Expectations(object) Expectations(object) <- value ## S4 method for signature 'MOFAmodel' Expectations(object) ## S4 replacement method for signature 'MOFAmodel,list' Expectations(object) <- value
object |
a |
value |
a list with matrices for expectations of unobserved model components |
list of matrices containing expectations of model components
# load a trained MOFAmodel object filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata") MOFAobject <- loadModel(filepath) names(Expectations(MOFAobject))