bioRxivAnimal Behavior & CognitionPreprint
Capturing the rhythm: methodological choices shape inference from circadian activity data
Ashleigh M. AndersoniD, Kathryn B. McNamaraiD, Theresa M. Jones
Abstract
Abstract 1. Statistical tools and analytical decisions for analysing animal activity data are often limited and poorly justified, particularly with respect to model choice, sampling design and temporal aggregation. These shortcomings can constrain our ability to draw accurate and biologically meaningful inferences about behaviour. 2. We interrogated 24 h activity data taken from individual males and females derived from five Drosophila melanogaster populations to generate a general framework for collecting and analysing activity data that systematically compares common model classes, continuous verses fragmented sampling strategies, and alternative temporal aggregation choices (time-bin sizes). 3. Our analyses identified generalised additive mixed models (GAMMs) applied to high-frequency continuous data with small-moderate bin sizes (1-5 minutes) as providing the most robust and interpretable inference for our complex, high-frequency activity data. 4. However, our interrogation of the data set confirmed that analytical and sampling decisions need to be tailored to the study species, the timing of activities and the nature of the behaviour of interest. Accordingly, polynomial and cosinor generalised linear models, increased but biologically targeted snapshot sampling, and bin sizes smaller than one hour yielded adequate analyses with similar biological conclusions when appropriately matched to the system. 5. Our approach provides an accessible decision-making framework for activity analyses that allows researchers across behavioural, ecological and evolutionary studies to justify and optimise choices about data collection and modelling. Such an approach improves the biological relevance of inference and supporting the use of modern tracking and analytical technologies.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PHASE: A MATLAB Based Program for the Analysis of Drosophila Phase, Activity, and Sleep under Entrainment
J. Persons, L. Abhilash, … O. T. Shafer·bioRxiv·Dec 14, 2021
- Characterizing rhythmic wheel-turning behavioral patterns in cockroaches Rhyparobia maderae using machine learning
Johanna Olschewski, Angelika Brückner-Foit, … Elfriede Friedmann·bioRxiv·Sep 15, 2026
- Video Recording Can Conveniently Assay Mosquito Locomotor Activity
Maísa da Silva Araújo, Fang Guo, Michael Rosbash·Scientific ReportsPeer-reviewed·Mar 19, 2020
- Drosophila Video-assisted Activity Monitor (DrosoVAM): a versatile method for behavior monitoring
Maxime Revel, Emi Nagoshi, Robert K. Maeda·Royal Society Open SciencePeer-reviewed·Sep 1, 2025
- A circadian behavioral analysis suite for real-time classification of daily rhythms in complex behaviors
L. J. Perry, B. E. Perez, … J. R. Jones·bioRxiv·Feb 23, 2024
- SleepMat: A New Behavioral Analysis Software Program for Sleep and Circadian Rhythms
Shiju Sisobhan, Clark Rosensweig, … Ravi Allada·SLEEPPeer-reviewed·Aug 23, 2022