addLags {TimeSeriesExperiment} | R Documentation |
This function concatenates lags to time-course
data stored in elements of the timeSeries
slot.
addLags(object, lambda = c(0.5, 0.25))
object |
A |
lambda |
Weights for each lag difference, for time-course data.
Length of |
Returns TimeSeriesExperiment
object with lags added
to elements in timeSeries
slot.
data("endoderm_small") endoderm_small <- collapseReplicates(endoderm_small) endoderm_small <- makeTimeSeries(endoderm_small) endoderm_small <- addLags(endoderm_small) head(timeSeries(endoderm_small, "ts")) head(timeSeries(endoderm_small, "ts_collapsed"))