subset_features: Subset features

View source: R/subset.R

subset_featuresR 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


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