Learn R Programming

MOFA (version 1.3.1)

ImputedData: ImputedData: set and retrieve imputed data

Description

Function to set and retrieve imputed data.

Usage

ImputedData(object)

ImputedData(object) <- value

# S4 method for MOFAmodel ImputedData(object)

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

Arguments

object

a MOFAmodel object.

value

a list of matrices containing the imputed data

Value

list of matrices containing the imputed data

Examples

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

Run the code above in your browser using DataLab