calc_impulse: Impulse model value prediction

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/Impulse_DE_fin.R

Description

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

Usage

1
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

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

ImpulseDE documentation built on April 28, 2020, 9:05 p.m.