get_lengthscales | R Documentation |
Extract the inferred lengthscale for each factor after model training.
get_lengthscales(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 lengthscale for each factor.
# Using an existing trained model
file <- system.file("extdata", "MEFISTO_model.hdf5", package = "MOFA2")
model <- load_model(file)
ls <- get_lengthscales(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.