bioRxivBioinformaticsPreprint
GLMMcosinor: Flexible Cosinor Modeling to Characterize Rhythmic Time Series Using a Generalized Linear Mixed Modeling Framework
Rex ParsonsiD, Oliver Jayasinghe, Nicole Marie WhiteiD, Prasad ChunduriiD, Oliver RawashdehiD
- Citations
- 9
Abstract
BackgroundModeling rhythmic biological processes, such as gene expression and sleep-wake cycles, is critical for understanding physiological mechanisms and their dysregulation in disease. Traditional cosinor analysis, commonly used to model rhythmic data, assumes Gaussian-distributed residuals and does not account for hierarchical data, limiting its applicability in modern biological datasets. ResultsWe present GLMMcosinor, an R package that integrates cosinor modeling into the Generalized Linear Mixed Modeling (GLMM) framework using glmmTMB. GLMMcosinor enables analysis of a broad spectrum of non-Gaussian and hierarchical data structures, including count, positive-only, and zero-inflated distributions. By incorporating mixed-effects modeling, GLMMcosinor improves parameter estimation and biological interpretability. The package includes functions for group comparisons of rhythmic parameters and visualization tools such as polar and time series plots. Additionally, GLMMcosinor is available as a Shiny app for intuitive, code-free analysis. ConclusionsGLMMcosinor significantly extends the flexibility and scope of rhythmic data analysis by incorporating GLMM functionality. It is freely available on GitHub, CRAN, rOpenSci, and the R-universe, with comprehensive documentation and reproducible examples, making it a robust tool for researchers analyzing complex rhythmic datasets.
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
- Identification and characterisation of variable rhythms using CosinorPy
Miha Moškon·bioRxiv·Jul 4, 2022
- CosinorTest: An R Shiny App for Cosinor-model-based circadian and differential analysis in transcriptomic applications
Haocheng Ding, Yutao Zhang, … Zhiguang Huo·bioRxiv·Nov 6, 2024
- Kronos: A computational tool to facilitate biological rhythmicity analysis
Thomaz F. S. Bastiaanssen, Sarah‐Jane Leigh, … John F. Cryan·bioRxiv·Apr 21, 2023
- Time distributed data analysis by Cosinor.Online application
Ľuboš Molčan·bioRxiv·Jan 18, 2023
- rhythmCI: an R package for rhythm detection using harmonic regression amplitude confidence intervals
Jayanth Sreekanth, Andreas Edel, … Bharath Ananthasubramaniam·bioRxiv·Oct 12, 2026
- easyClock: A User-Friendly Desktop Application for Circadian Rhythm Analysis and Visualization
Binbin Wu, William W. Ja·BMC BioinformaticsPeer-reviewed·Dec 5, 2025