covariates_names {MOFA2} | R Documentation |
covariates_names: set and retrieve covariate names
covariates_names(object) covariates_names(object) <- value ## S4 method for signature 'MOFA' covariates_names(object) ## S4 replacement method for signature 'MOFA,vector' covariates_names(object) <- value
object |
a |
value |
a character vector of covariate names |
character vector with the covariate names
# Using an existing trained model on simulated data file <- system.file("extdata", "MEFISTO_model.hdf5", package = "MOFA2") model <- load_model(file) covariates_names(model)