factors_names: factors_names: set and retrieve factor names

Description Usage Arguments Value Examples

Description

factors_names: set and retrieve factor names

Usage

1
2
3
4
5
6
7
8
9
factors_names(object)

factors_names(object) <- value

## S4 method for signature 'MOFA'
factors_names(object)

## S4 replacement method for signature 'MOFA,vector'
factors_names(object) <- value

Arguments

object

a MOFA object.

value

a character vector of factor names

Value

character vector with the factor names

Examples

1
2
3
4
# Using an existing trained model on simulated data
file <- system.file("extdata", "model.hdf5", package = "MOFA2")
model <- load_model(file)
factors_names(model)

MOFA2 documentation built on Nov. 8, 2020, 7:28 p.m.