| sampleNames | R Documentation |
This function will return the human readable sample names if defined
in the sampleName column of sampleData. Otherwise it will return
the syntactically valid names defined as the rownames of sampleData.
sampleNames(object)
sampleNames(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,character'
sampleNames(object) <- value
object |
Object. |
value |
Value to assign. |
Named character.
Updated 2020-03-15.
data(RangedSummarizedExperiment, package = "AcidTest")
rse <- RangedSummarizedExperiment
## SummarizedExperiment ====
object <- rse
x <- sampleNames(object)
print(x)
## Assignment support.
value <- sampleNames(object)
value <- toupper(value)
print(value)
sampleNames(object) <- value
x <- sampleNames(object)
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.