Description Details Author(s) References See Also Examples
More about what it does (maybe more than one line) blablabla
Package: | f24_R2_cycling |
Type: | Package |
Version: | 1.0 |
Date: | 2013-10-16 |
License: | GPL-2 |
This funciton is to dectect the cycling genes
Jingkui Wang, Felix Naef <jingkui.wang@epfl.ch>
No references
None
1 2 3 4 5 6 7 8 9 10 11 12 | tvec <- seq(0, 48, 2)
jphase <- 6
jmean <- 10
jperiod <- 24
jnoise <- 0.2
jomega <- 2 * pi / jperiod
x <- jmean + cos(jomega * (tvec - jphase)) + rnorm(n = length(tvec), sd = jnoise)
plot(tvec, x)
fit.x <- f24_R2_cycling(x, t=tvec, period = jperiod)
tvec.pred <- seq(0, 48, length.out = 50)
x.pred <- get_curve_from_fit(fit.x, tvec.pred)
lines(tvec.pred, x.pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.