sampleNames: sampleNames: set and retrieve sample names

Description Usage Arguments Value Examples

Description

Function to set and retrieve sample names.

Usage

1
2
3
4
5
6
7
8
9
sampleNames(object)

sampleNames(object) <- value

## S4 method for signature 'MOFAmodel'
sampleNames(object)

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

1
2
3
data("CLL_data", package = "MOFAdata")
MOFAobject  <- createMOFAobject(CLL_data)
head(sampleNames(MOFAobject))

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