| colnames<-,TimeSeriesExperiment-method {TimeSeriesExperiment} | R Documentation |
TimeSeriesExperiment object.colnames(), rownames()
can be used to reset the dimensions, column and row names respectively.
The data will be updated across all slots of TimeSeriesExperiment.
## S4 replacement method for signature 'TimeSeriesExperiment' colnames(x) <- value ## S4 replacement method for signature 'TimeSeriesExperiment' rownames(x) <- value
x |
a |
value |
a character vector or a list of two character vectors with new dimension names. |
Setting colnames() automatically updates
information in dimensionReduction slot.
a character vector
data("endoderm_small")
head(colnames(endoderm_small))
colnames(endoderm_small) <- paste0("Smp", 1:ncol(endoderm_small))
head(colnames(endoderm_small))