Cgmquantify: Python and R Software Packages for Comprehensive Analysis of Interstitial Glucose and Glycemic Variability from Continuous Glucose Monitor Data
Open Access
- 18 August 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of Engineering in Medicine and Biology
- Vol. 2, 263-266
Abstract
Goal: Continuous glucose monitoring (CGM) is commonly used in Type 1 diabetes management by clinicians and patients and in diabetes research to understand how factors of longitudinal glucose and glucose variability relate to disease onset and severity and the efficacy of interventions. CGM data presents unique bioinformatic challenges because the data is longitudinal, temporal, and there are infinite ways to summarize and use this data. There are over 25 metrics of glucose variability used clinically and in research, metrics are not standardized, and little validation exists across studies. The primary goal of this work is to present a software resource for systematic, reproducible, and comprehensive analysis of interstitial glucose and glycemic variability from continuous glucose monitor data. Methods: Comprehensive literature review informed the clinically-validated functions developed in this work. Software packages were developed and open-sourced through the Python Package Index (PyPi) and the Comprehensive R Archive Network (CRAN). cgmquantify is integrated into the Digital Biomarker Discovery Pipeline and MD2K Cerebral Cortex. Results: Here we present an open-source software toolbox called cgmquantify, which contains 25 functions calculating 28 clinically validated metrics of glucose and glycemic variability, as well as tools for visualizing longitudinal CGM data. Detailed documentation facilitates modification of existing code by the community for customization of input data and visualizations. Conclusions: We have built systematic functions and documentation of metrics and visualizations into a software resource available in both the Python and R languages. This resource will enable digital biomarker development using continuous glucose monitors.Keywords
All Related Versions
Funding Information
- Duke MedX
- Chan Zuckerberg Initiative DAF
- Silicon Valley Community Foundation (2020-218599)
This publication has 17 references indexed in Scilit:
- Glycemic Variability: How to Measure and Its Clinical Implication for Type 2 DiabetesThe American Journal of the Medical Sciences, 2018
- CGManalyzer: an R package for analyzing continuous glucose monitoring studiesBioinformatics, 2018
- Single Subject (N-of-1) Research Design, Data Processing, and Personal ScienceMethods of Information in Medicine, 2017
- Metrics for glycaemic control — from HbA1c to continuous glucose monitoringNature Reviews Endocrinology, 2017
- Glycemic Variability: How Do We Measure It and Why Is It Important?Diabetes & Metabolism Journal, 2015
- Glucose VariabilityDiabetes, 2013
- Translating Glucose Variability Metrics into the Clinic via C ontinuous G lucose M onitoring: A G raphical U ser I nterface for D iabetes E valuation (CGM-GUIDE © )Diabetes Technology & Therapeutics, 2011
- Normal Reference Range for Mean Tissue Glucose and Glycemic Variability Derived from Continuous Glucose Monitoring for Subjects Without Diabetes in Different Ethnic GroupsDiabetes Technology & Therapeutics, 2011
- Continuous Glucose Monitoring and Intensive Treatment of Type 1 DiabetesNew England Journal of Medicine, 2008
- “J”-Index. A New Proposition of the Assessment of Current Glucose Control in Diabetic PatientsHormone and Metabolic Research, 1995