ImputedData: ImputedData: set and retrieve imputed data

Description Usage Arguments Value Examples

Description

Function to set and retrieve imputed data.

Usage

1
2
3
4
5
6
7
8
9
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

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

MOFA documentation built on Feb. 11, 2021, 2:01 a.m.