featureNames {MOFA} | R Documentation

## featureNames: set and retrieve feature names

### Description

Function to set and retrieve feature names.

### Usage

    featureNames(object)

    featureNames(object) <- value

    ## S4 method for signature 'MOFAmodel'
    featureNames(object)

    ## S4 replacement method for signature 'MOFAmodel,list'
    featureNames(object) <- value

### Arguments

`object` | a `MOFAmodel` object.
`value` | list of character vectors with the feature names for each view

### Value

list of character vectors with the feature names for each view

### Examples

    data("CLL_data", package = "MOFAdata")
    MOFAobject  <- createMOFAobject(CLL_data)
    featureNames(MOFAobject)$Mutations
    head(featureNames(MOFAobject)$Drugs)

[Package MOFA version 1.6.2 Index]