subset_features: Subset features

Description Usage Arguments Value

View source: R/subset.R

Description

Method to subset (or sort) features

Usage

1
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


MOFA2 documentation built on Nov. 8, 2020, 7:28 p.m.