
Function to set and retrieve sample names.
sampleNames(object)sampleNames(object) <- value
# S4 method for MOFAmodel
sampleNames(object)
# S4 method for MOFAmodel,vector
sampleNames(object) <- value
a MOFAmodel
object.
a character vector of sample names
character vector with the sample names
# NOT RUN {
data("CLL_data", package = "MOFAdata")
MOFAobject <- createMOFAobject(CLL_data)
head(sampleNames(MOFAobject))
# }
Run the code above in your browser using DataLab