colData: Column data for 'TimeSeriesExperiment'

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
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))

TimeSeriesExperiment documentation built on Nov. 8, 2020, 11:09 p.m.