covariates_names: covariates_names: set and retrieve covariate names

covariates_namesR Documentation

covariates_names: set and retrieve covariate names

Description

covariates_names: set and retrieve covariate names

Usage

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

Arguments

object

a MOFA object.

value

a character vector of covariate names

Value

character vector with the covariate names

Examples

# Using an existing trained model on simulated data
file <- system.file("extdata", "MEFISTO_model.hdf5", package = "MOFA2")
model <- load_model(file)
covariates_names(model)

bioFAM/MOFA2 documentation built on June 12, 2024, 3:57 p.m.