subset_features {MOFA2} | R Documentation

## Subset features

### Description

Method to subset (or sort) features

### Usage

    subset_features(object, view, features)

### Arguments

`object` | a `MOFA` object.
`view` | character vector with the view name or integer with the view index
`features` | character vector with the sample names, numeric vector with the feature indices or logical vector with the samples to be kept as TRUE.

### Value

A `MOFA` object

[Package MOFA2 version 1.4.0 Index]