features_metadata {MOFA2} | R Documentation

## features_metadata: set and retrieve feature metadata

### Description

features_metadata: set and retrieve feature metadata

### Usage

    features_metadata(object)

    features_metadata(object) <- value

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

    ## S4 replacement method for signature 'MOFA,data.frame'
    features_metadata(object) <- value

### Arguments

`object` | a `MOFA` object.
`value` | data frame with feature information, it at least must contain the columns `feature` and `view`

### Value

a data frame with sample metadata

### Examples

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

[Package MOFA2 version 1.2.2 Index]