Learn R Programming

MOFA (version 1.3.1)

featureNames: featureNames: set and retrieve feature names

Description

Function to set and retrieve feature names.

Usage

featureNames(object)

featureNames(object) <- value

# S4 method for MOFAmodel featureNames(object)

# S4 method for 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

Run this code
# NOT RUN {
data("CLL_data", package = "MOFAdata")
MOFAobject  <- createMOFAobject(CLL_data)
featureNames(MOFAobject)$Mutations
head(featureNames(MOFAobject)$Drugs)
# }

Run the code above in your browser using DataLab