sampleNames,NanoStringExperiment-method | R Documentation |
Shows variables used for rownames in colData.
Replace variables used for rownames in colData.
## S4 method for signature 'NanoStringExperiment' sampleNames(object) ## S4 replacement method for signature 'NanoStringExperiment,ANY' sampleNames(object) <- value
object |
NanoStringExperiment object |
value |
list sample names |
list of string sample (column) identifiers
NanoStringExperiment object
data(exampleNSEData) sampleNames(testExp) data(exampleNSEData) colData(testExp)[["testNames"]] <- paste0(dimnames(testExp)[[2]], "a") sampleNames(testExp) <- colData(testExp)[["testNames"]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.