Learn R Programming

MOFA (version 1.3.1)

Dimensions: Dimensions: set and retrieve dimensions

Description

Function to set and retrieve model dimensions.

Usage

Dimensions(object)

Dimensions(object) <- value

# S4 method for MOFAmodel Dimensions(object)

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

Arguments

object

a MOFAmodel object.

value

list of dimensions

Value

list of dimensions of the model

Examples

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

Run the code above in your browser using DataLab