colData<-,TimeSeriesExperiment,ANY-method {TimeSeriesExperiment}R Documentation

Column data for TimeSeriesExperiment

Description

colData() slots holds information on individual samples including corresponding sample name in column 'sample' as well as time, group and replicate.

Usage

## S4 replacement method for signature 'TimeSeriesExperiment,ANY'
colData(x, ...) <- value

Arguments

x

a TimeSeriesExperiment object

...

argiments to other functions.

value

a DataFrame with new sample information

Details

The setter also updates the information in timepoint, replicate and group slots and resets the time-series analysis results to NULL.

Value

a S4Vectors::DataFrame

Examples

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))


[Package TimeSeriesExperiment version 1.10.1 Index]