get_scales {MOFA2} | R Documentation |
Extract the inferred scale for each factor after model training.
get_scales(object)
object |
a |
This can be used only if covariates are passed to the MOFAobject upon creation and GP_factors is set to True.
A numeric vector containing the scale for each factor.
# Using an existing trained model file <- system.file("extdata", "MEFISTO_model.hdf5", package = "MOFA2") model <- load_model(file) s <- get_scales(model)