get_dimensions | R Documentation |
Extract dimensionalities from the model.
get_dimensions(object)
object |
a |
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.
list containing the dimensionalities of the model
# Using an existing trained model
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
dims <- get_dimensions(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.