featureNames: featureNames: set and retrieve feature names

Description Usage Arguments Value Examples

Description

Function to set and retrieve feature names.

Usage

1
2
3
4
5
6
7
8
9
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

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

bioFAM/MOFA documentation built on Oct. 3, 2020, 12:53 a.m.