cosinoRmixedeffects: an R package for mixed-effects cosinor models

被引:14
作者
Hou, Ruixue [1 ]
Tomalin, Lewis E. [1 ]
Suarez-Farinas, Mayte [2 ,3 ]
机构
[1] Icahn Sch Med Mt Sinai, Dept Populat Hlth Sci & Policy, New York, NY 10029 USA
[2] Mt Sinai Clin Informat Ctr, Dept Populat Hlth Sci & Policy, New York, NY 10029 USA
[3] Icahn Sch Med Mt Sinai, Dept Genet & Genom, New York, NY 10029 USA
关键词
Circadian data; Cosinor; Mixed-effects; Wearable data; R package; HEART-RATE-VARIABILITY;
D O I
10.1186/s12859-021-04463-3
中图分类号
Q5 [生物化学];
学科分类号
071010 ; 081704 ;
摘要
Background Wearable devices enable monitoring and measurement of physiological parameters over a 24-h period, and some of which exhibit circadian rhythm characteristics. However, the currently available R package cosinor could only analyze daily cross-sectional data and compare the parameters between groups with two levels. To evaluate longitudinal changes in the circadian patterns, we need to extend the model to a mixed-effect model framework, allowing for random effects and interaction between COSINOR parameters and time-varying covariates. Results We developed the cosinoRmixedeffects R package for modelling longitudinal periodic data using mixed-effects cosinor models. The model allows for covariates and interactions with the non-linear parameters MESOR, amplitude, and acrophase. To facilitate ease of use, the package utilizes the syntax and functions of the widely used emmeans package to obtain estimated marginal means and contrasts. Estimation and hypothesis testing involving the non-linear circadian parameters are carried out using bootstrapping. We illustrate the package functionality by modelling daily measurements of heart rate variability (HRV) collected among health care workers over several months. Differences in circadian patterns of HRV between genders, BMI, and during infection with SARS-CoV2 are evaluated to illustrate how to perform hypothesis testing. Conclusion cosinoRmixedeffects package provides the model fitting, estimation and hypothesis testing for the mixed-effects COSINOR model, for the linear and non-linear circadian parameters MESOR, amplitude and acrophase. The model accommodates factors with any number of categories, as well as complex interactions with circadian parameters and categorical factors.
引用
收藏
页数:7
相关论文
共 17 条
[1]   Continuous Multi-Parameter Heart Rate Variability Analysis Heralds Onset of Sepsis in Adults [J].
Ahmad, Saif ;
Ramsay, Tim ;
Huebsch, Lothar ;
Flanagan, Sarah ;
McDiarmid, Sheryl ;
Batkin, Izmail ;
McIntyre, Lauralyn ;
Sundaresan, Sudhir R. ;
Maziak, Donna E. ;
Shamji, Farid M. ;
Hebert, Paul ;
Fergusson, Dean ;
Tinmouth, Alan ;
Seely, Andrew J. E. .
PLOS ONE, 2009, 4 (08)
[2]   Clinical review: A review and analysis of heart rate variability and the diagnosis and prognosis of infection [J].
Ahmad, Saif ;
Tejuja, Anjali ;
Newman, Kimberley D. ;
Zarychanski, Ryan ;
Seely, Andrew J. E. .
CRITICAL CARE, 2009, 13 (06)
[3]   Fitting Linear Mixed-Effects Models Using lme4 [J].
Bates, Douglas ;
Maechler, Martin ;
Bolker, Benjamin M. ;
Walker, Steven C. .
JOURNAL OF STATISTICAL SOFTWARE, 2015, 67 (01) :1-48
[4]   Continuous Heart Rate Monitoring for Automatic Detection of Life-Threatening Arrhythmias With Novel Bio-Sensing Technology [J].
Chorin, Ehud ;
Hochstadt, Aviram ;
Schwartz, Arie Lorin ;
Matz, Gil ;
Viskin, Sami ;
Rosso, Raphael .
FRONTIERS IN CARDIOVASCULAR MEDICINE, 2021, 8
[5]   Cosinor-based rhythmometry [J].
Cornelissen, Germaine .
THEORETICAL BIOLOGY AND MEDICAL MODELLING, 2014, 11
[6]   Factors Associated With Longitudinal Psychological and Physiological Stress in Health Care Workers During the COVID-19 Pandemic: Observational Study Using Apple Watch Data [J].
Hirten, Robert P. ;
Danieletto, Matteo ;
Tomalin, Lewis ;
Choi, Katie Hyewon ;
Zweig, Micol ;
Golden, Eddye ;
Kaur, Sparshdeep ;
Helmus, Drew ;
Biello, Anthony ;
Pyzik, Renata ;
Calcagno, Claudia ;
Freeman, Robert ;
Sands, Bruce E. ;
Charney, Dennis ;
Bottinger, Erwin P. ;
Murrough, James W. ;
Keefer, Laurie ;
Suarez-Farinas, Mayte ;
Nadkarni, Girish N. ;
Fayad, Zahi A. .
JOURNAL OF MEDICAL INTERNET RESEARCH, 2021, 23 (09)
[7]   Use of Physiological Data From a Wearable Device to Identify SARS-CoV-2 Infection and Symptoms and Predict COVID-19 Diagnosis: Observational Study [J].
Hirten, Robert P. ;
Danieletto, Matteo ;
Tomalin, Lewis ;
Choi, Katie Hyewon ;
Zweig, Micol ;
Golden, Eddye ;
Kaur, Sparshdeep ;
Helmus, Drew ;
Biello, Anthony ;
Pyzik, Renata ;
Charney, Alexander ;
Miotto, Riccardo ;
Glicksberg, Benjamin S. ;
Levin, Matthew ;
Nabeel, Ismail ;
Aberg, Judith ;
Reich, David ;
Charney, Dennis ;
Bottinger, Erwin P. ;
Keefer, Laurie ;
Suarez-Farinas, Mayte ;
Nadkarni, Girish N. ;
Fayad, Zahi A. .
JOURNAL OF MEDICAL INTERNET RESEARCH, 2021, 23 (02)
[8]  
Hirten RP, 2020, LONGITUDINAL PHYSL D
[9]   BODY MASS INDEX IS RELATED TO AUTONOMIC NERVOUS SYSTEM ACTIVITY AS MEASURED BY HEART RATE VARIABILITY-A REPLICATION USING SHORT TERM MEASUREMENTS [J].
Koenig, J. ;
Jarczok, M. N. ;
Warth, M. ;
Ellis, R. J. ;
Bach, C. ;
Hillecke, T. K. ;
Thayer, J. F. .
JOURNAL OF NUTRITION HEALTH & AGING, 2014, 18 (03) :300-302
[10]   Sex differences in healthy human heart rate variability: A meta-analysis [J].
Koenig, Julian ;
Thayer, Julian F. .
NEUROSCIENCE AND BIOBEHAVIORAL REVIEWS, 2016, 64 :288-310