calc_impulse {ImpulseDE}R Documentation

Impulse model value prediction

Description

Calculates impulse model values for given timepoints and predicted impulse parameters.

Usage

calc_impulse(theta, timepoints)

Arguments

theta

numerical vector of impulse parameters with the order beta, h0, h1, h2, t1, t2.

timepoints

numercial vector of time point(s).

Value

The predicted impulse model values for the given time point(s).

Author(s)

Jil Sander

References

Chechik, G. and Koller, D. (2009) Timing of Gene Expression Responses to Envi-ronmental Changes. J. Comput. Biol., 16, 279-290.

See Also

impulse_DE, plot_impulse.

Examples

#' theta vector in the order beta, h0, h1, h2, t1, t2
theta <- c(9.9, 14.7, 17.0, 16.9, -0.1, 37.0)
#' time points
timepoints <- c(0, 2, 4, 6, 8, 18, 24, 32, 48, 72)
#' calculate impulse values
impulse_values <- calc_impulse(theta, timepoints)

[Package ImpulseDE version 1.6.0 Index]