colData<-,TimeSeriesExperiment,ANY-method {TimeSeriesExperiment} | R Documentation |
TimeSeriesExperiment
colData()
slots holds information on individual
samples including corresponding sample name in column 'sample' as well as
time, group and replicate.
## S4 replacement method for signature 'TimeSeriesExperiment,ANY' colData(x, ...) <- value
x |
a |
... |
argiments to other functions. |
value |
a DataFrame with new sample information |
The setter also updates the information in timepoint
,
replicate
and group
slots and resets the time-series
analysis results to NULL
.
data("endoderm_small") head(colData(endoderm_small)) newdf <- colData(endoderm_small) newdf$random <- sample(ncol(endoderm_small), ncol(endoderm_small)) colData(endoderm_small) <- newdf head(colData(endoderm_small))