Convert sample identifiers to names
Source:R/AllGenerics.R
, R/convertSampleIdsToNames-methods.R
convertSampleIdsToNames.Rd
Convert sample identifiers to names
Usage
convertSampleIdsToNames(object, ...)
# S4 method for SingleCellExperiment
convertSampleIdsToNames(object)
Examples
data(SingleCellExperiment_splatter, package = "AcidTest")
## SingleCellExperiment ====
object <- SingleCellExperiment_splatter
convertSampleIdsToNames(object)
#> ! `SingleCellExperiment` contains cells instead of samples. Returning with column names unmodified.
#> class: SingleCellExperiment
#> dim: 100 400
#> metadata(1): date
#> assays(1): counts
#> rownames(100): gene001 gene002 ... gene099 gene100
#> rowData names(10): broadClass description ... ncbiGeneId seqCoordSystem
#> colnames(400): cell001 cell002 ... cell399 cell400
#> colData names(1): sampleId
#> reducedDimNames(0):
#> mainExpName: NULL
#> altExpNames(0):