Learn R Programming

MOFA (version 1.3.1)

sampleNames: sampleNames: set and retrieve sample names

Description

Function to set and retrieve sample names.

Usage

sampleNames(object)

sampleNames(object) <- value

# S4 method for MOFAmodel sampleNames(object)

# S4 method for MOFAmodel,vector sampleNames(object) <- value

Arguments

object

a MOFAmodel object.

value

a character vector of sample names

Value

character vector with the sample names

Examples

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

Run the code above in your browser using DataLab