ImputedData {MOFA}R Documentation

ImputedData: set and retrieve imputed data

Description

Function to set and retrieve imputed data.

Usage

ImputedData(object)

ImputedData(object) <- value

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

## S4 replacement method for signature '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

# load a trained MOFAmodel object
filepath <- system.file("extdata", "scMT_model.hdf5", package = "MOFAdata")
MOFAobject <- loadModel(filepath)
MOFAobject <- impute(MOFAobject)
str(ImputedData(MOFAobject))

[Package MOFA version 1.6.2 Index]