Analyse Biological Time-Series Data
Overview
Compiles functions to trim, bin, visualise, and analyse activity/sleep time-series data collected from the Drosophila Activity Monitor (DAM) system (Trikinetics, USA). The following methods were used to compute periodograms - Chi-square periodogram: Sokolove and Bushell (1978) doi:10.1016/0022-5193(78)90022-X, Lomb-Scargle periodogram: Lomb (1976) doi:10.1007/BF00648343, Scargle (1982) doi:10.1086/160554 and Ruf (1999) doi:10.1076/brhm.30.2.178.1422, and Autocorrelation: Eijzenbach et al. (1986) doi:10.1111/j.1440-1681.1986.tb00943.x. Identification of activity peaks is done after using a Savitzky-Golay filter (Savitzky and Golay (1964) doi:10.1021/ac60214a047) to smooth raw activity data. Three methods to estimate anticipation of activity are used based on the following papers - Slope method: Fernandez et al. (2020) doi:10.1016/j.cub.2020.04.025, Harrisingh method: Harrisingh et al. (2007) doi:10.1523/JNEUROSCI.3680-07.2007, and Stoleru method: Stoleru et al. (2004) doi:10.1038/nature02926. Rose plots and circular analysis are based on methods from - Batschelet (1981) <ISBN:0120810506> and Zar (2010) <ISBN:0321656865>.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) rosePlotsAct.Rd:19: Lost braces; missing escapes or markup?
19 | A \code{plotly} {htmlwidget} with rose plots for locomotor activity.
| ^
checkRd: (-1) rosePlotsSleep.Rd:19: Lost braces; missing escapes or markup?
19 | #' @return A \code{plotly} {htmlwidget} with rose plots for sleep data.
| ^- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 23
- Examples that run
- 82%18 run in a plain check · 4 never run
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing phase adds 86 packages (44 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.2.9Latest
- 1.2.8
- 1.2.72022-11-15 · diff ↗
- 1.2.62022-11-05 · diff ↗
- 1.2.52022-10-26 · diff ↗
- 1.2.32022-10-13 · diff ↗ ·
removed 7 exports
allActogramsWake, allPeriodogramsWake, indActogramWake, indPeriodogramWake, profilesWake, rosePlotsWake, wakeData - 1.2.22022-09-25 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.2.1
- 1.1.32021-08-06 · diff ↗
- 1.1.22021-07-17 · diff ↗
- 1.1.12021-07-02
Show 1 earlier eventHide 1 earlier event
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-07-02
- Total releases
- 11 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 138 KB / 1 file
- Download size
- 180 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("phase")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.