| sampleNames<- | R Documentation |
Set the sample names of a MultiBlock object.
sampleNames(x) <- value
## S4 replacement method for signature 'MultiBlock'
sampleNames(x) <- value
x |
A MultiBlock object. |
value |
A vector of new sample names. Must have the same length as the current number of samples. |
The updated MultiBlock object.
b1 <- matrix(rnorm(500), 10, 50)
mb <- MultiBlock(Data = list(b1 = b1))
sampleNames(mb) <- paste0("patient_", 1:10)
sampleNames(mb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.