features_names: features_names: set and retrieve feature names

features_namesR Documentation

features_names: set and retrieve feature names

Description

features_names: set and retrieve feature names

Usage

features_names(object)

features_names(object) <- value

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

## S4 replacement method for signature 'MOFA,list'
features_names(object) <- value

Arguments

object

a MOFA object.

value

list of character vectors with the feature names for every view

Value

list of character vectors with the feature names for each view

Examples

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

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