get_dimensions {MOFA2}R Documentation

Get dimensions

Description

Extract dimensionalities from the model.

Usage

get_dimensions(object)

Arguments

object

a MOFA object.

Details

K indicates the number of factors, D indicates the number of features, N indicates the (total) number of samples and M indicates the number of views.

Value

list containing the dimensionalities of the model

Examples

# Using an existing trained model
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
dims <- get_dimensions(model)

[Package MOFA2 version 1.0.1 Index]