Learn R Programming

MOFA (version 1.3.1)

InputData: InputData: set and retrieve input data

Description

Function to set and retrieve input data.

Usage

InputData(object)

InputData(object) <- value

# S4 method for MOFAmodel InputData(object)

# S4 method for MOFAmodel,MultiAssayExperiment InputData(object) <- value

Arguments

object

a MOFAmodel object.

value

a multi-assay experiment

Value

input data as a multi-assay experiment

Examples

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

Run the code above in your browser using DataLab