dot-addLagsToTimeSeries: Add differences to the time-course data.

Description Usage Arguments Value

Description

This function add lag difference features to the time-course data.

Usage

1
.addLagsToTimeSeries(timeseries, lambda)

Arguments

timeseries

a data matrix or data.frame where each column corresponds to consecutive time point.

lambda

Weights for each lag difference, for time-course data. Length of lambda specifies number of lags to include. By default lag of order one and two are included with coefficients 0.5 and 0.25 respectively.

Value

a data matrix with added difference lags.


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