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, M indicates the number of views, D indicates the number of features (per view), N indicates the number of samples (per group) and C indicates the number of covariates.

### 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.4.0 Index]