f24_R2_cycling-package: What the package does (short line) To dectect the rhythmicity

Description Details Author(s) References See Also Examples

Description

More about what it does (maybe more than one line) blablabla

Details

Package: f24_R2_cycling
Type: Package
Version: 1.0
Date: 2013-10-16
License: GPL-2

This funciton is to dectect the cycling genes

Author(s)

Jingkui Wang, Felix Naef <jingkui.wang@epfl.ch>

References

No references

See Also

None

Examples

 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)

naef-lab/f24 documentation built on May 13, 2019, 3:07 a.m.