ImputedData {MOFA} | R Documentation |
Function to set and retrieve imputed data.
ImputedData(object) ImputedData(object) <- value ## S4 method for signature 'MOFAmodel' ImputedData(object) ## S4 replacement method for signature 'MOFAmodel,list' ImputedData(object) <- value
object |
a |
value |
a list of matrices containing the imputed data |
list of matrices containing the imputed data
# load a trained MOFAmodel object filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata") MOFAobject <- loadModel(filepath) MOFAobject <- impute(MOFAobject) str(ImputedData(MOFAobject))