get_dimensions: Get dimensions

Description Usage Arguments Details Value Examples

View source: R/get_methods.R

Description

Extract dimensionalities from the model.

Usage

1

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

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

MOFA2 documentation built on Nov. 8, 2020, 7:28 p.m.