Package: iglu 4.2.0

iglu: Interpreting Glucose Data from Continuous Glucose Monitors

Implements a wide range of metrics for measuring glucose control and glucose variability based on continuous glucose monitoring data. The list of implemented metrics is summarized in Rodbard (2009) <doi:10.1089/dia.2009.0015>. Additional visualization tools include time-series plots, lasagna plots and ambulatory glucose profile report.

Authors:Elizabeth Chun [aut], Steve Broll [aut], David Buchanan [aut], John Muschelli [aut], Nathaniel Fernandes [aut], Jung Hoon Seo [ctb], Johnathan Shih [ctb], Jacek Urbanek [ctb], John Schwenck [ctb], Marielle Hicban [ctb], Mary Martin [ctb], Pratik Patel [ctb], Meyappan Ashok [ctb], Nhan Nguyen [ctb], Irina Gaynanova [aut, cre]

iglu_4.2.0.tar.gz
iglu_4.2.0.zip(r-4.5)iglu_4.2.0.zip(r-4.4)iglu_4.2.0.zip(r-4.3)
iglu_4.2.0.tgz(r-4.4-any)iglu_4.2.0.tgz(r-4.3-any)
iglu_4.2.0.tar.gz(r-4.5-noble)iglu_4.2.0.tar.gz(r-4.4-noble)
iglu_4.2.0.tgz(r-4.4-emscripten)iglu_4.2.0.tgz(r-4.3-emscripten)
iglu.pdf |iglu.html
iglu/json (API)
NEWS

# Install 'iglu' in R:
install.packages('iglu', repos = c('https://irinagain.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/irinagain/iglu/issues

Datasets:

On CRAN:

8.98 score 23 stars 38 scripts 510 downloads 1 mentions 64 exports 116 dependencies

Last updated 8 hours agofrom:f54325513b. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winNOTENov 22 2024
R-4.5-linuxNOTENov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:%>%above_percentactive_percentadrragpagp_metricsall_metricsaucbelow_percentcalculate_sleep_wakeCGMS2DayByDaycogicongacv_glucv_measuresea1cepicalc_profileepisode_calculationgmigradegrade_euglygrade_hypergrade_hypogrigvphbgihist_rochyper_indexhypo_indexigciglu_shinyin_range_percentiqr_gluj_indexlbgim_valuemad_glumagmagemage_ma_singlemeal_metricsmean_glumedian_glumetrics_heatmapmoddoptimized_iglu_functionspgsplot_agpplot_dailyplot_gluplot_lasagnaplot_lasagna_1subjectplot_mealsplot_rangesplot_rocprocess_dataquantile_glurange_gluread_raw_datarocsd_glusd_measuressd_rocsummary_glu

Dependencies:abindaskpassbackportsbase64encbitopsbootbroombslibcachemcarcarDatacaToolsclicolorspacecommonmarkcorrplotcowplotcpp11crayoncrosstalkcurldata.tableDerivdigestdoBydplyrDTevaluatefansifarverfastmapfontawesomeFormulafsgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehighrhmshtmltoolshtmlwidgetshttpuvhttrisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclelme4lubridatemagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnumDerivopensslpatchworkpbkrtestpheatmappillarpkgconfigplotlypolynompromisespurrrquantregR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownrstatixsassscalesshinysourcetoolsSparseMstringistringrsurvivalsystibbletidyrtidyselecttimechangetinytexutf8vctrsviridisLitewithrxfunxtableyamlzoo

AGP and Episodes

Rendered fromAGP_and_Episodes.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2023-10-03
Started: 2021-04-19

Getting Started in iglu

Rendered fromiglu.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2024-04-13
Started: 2019-12-05

Lasagna Plots in iglu

Rendered fromlasagna_plots.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2022-11-16
Started: 2021-04-19

List of metrics implemented in iglu

Rendered frommetrics_list.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2023-11-07
Started: 2020-05-26

MAGE Algorithm

Rendered fromMAGE.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2024-10-09
Started: 2021-12-16

Readme and manuals

Help Manual

Help pageTopics
Calculate percentage of values above target thresholdsabove_percent
Calculate percentage of time CGM was activeactive_percent
Calculate average daily risk range (ADRR)adrr
Display Ambulatory Glucose Profile (AGP) statistics for selected subjectagp
Calculate metrics for the Ambulatory Glucose Profile (AGP)agp_metrics
Calculate all metrics in igluall_metrics
Calculate Area Under Curve AUCauc
Calculate percentage below targeted valuesbelow_percent
Calculate metrics for values inside and/or outside a specified time range.calculate_sleep_wake
Interpolate glucose value on an equally spaced grid from day to dayCGMS2DayByDay
Calculate Continuous Glucose Monitoring Index (COGI) valuescogi
Continuous Overall Net Glycemic Action (CONGA)conga
Calculate Coefficient of Variation (CV) of glucose levelscv_glu
Calculate Coefficient of Variation subtypescv_measures
Calculate eA1Cea1c
Display Episode Calculation statistics for selected subjectepicalc_profile
Calculates Hypo/Hyperglycemic episodes with summary statisticsepisode_calculation
Example CGM data for one subject with Type II diabetesexample_data_1_subject
Example CGM data for 5 subjects with Type II diabetesexample_data_5_subject
Example data from Hall et al. (2018)example_data_hall
Example mealtimes data from Hall et al. (2018)example_meals_hall
Calculate GMIgmi
Calculate mean GRADE scoregrade
Percentage of GRADE score attributable to target rangegrade_eugly
Percentage of GRADE score attributable to hyperglycemiagrade_hyper
Percentage of GRADE score attributable to hypoglycemiagrade_hypo
Calculate Glycemia Risk Index (GRI)gri
Calculate Glucose Variability Percentage (GVP)gvp
Calculate High Blood Glucose Index (HBGI)hbgi
Plot histogram of Rate of Change values (ROC)hist_roc
Calculate Hyperglycemia Indexhyper_index
Calculate Hypoglycemia Indexhypo_index
Calculate Index of Glycemic Controligc
Run IGLU Shiny Appiglu_shiny
Calculate percentage in targeted value rangesin_range_percent
Calculate glucose level iqriqr_glu
Calculate J-indexj_index
Calculate Low Blood Glucose Index (LBGI)lbgi
Calculate the M-valuem_value
Calculate Median Absolute Deviation (MAD)mad_glu
Calculate the Mean Absolute Glucose (MAG)mag
Calculate Mean Amplitude of Glycemic Excursionsmage
Calculates Mean Amplitude of Glycemic Excursions (see "mage")mage_ma_single
Calculate Meal Metricsmeal_metrics
Calculate mean glucose levelmean_glu
Calculate median glucose levelmedian_glu
Create a heatmap of metric values by subject based on hierarchical clustering ordermetrics_heatmap
Calculate mean difference between glucose values obtained at the same time of day (MODD)modd
Optimized Calculations of Time Dependent iglu Metricsoptimized_iglu_functions
Calculate Personal Glycemic State (PGS)pgs
Plot Ambulatory Glucose Profile (AGP) modal dayplot_agp
Plot daily glucose profilesplot_daily
Plot time series and lasagna plots of glucose measurementsplot_glu
Lasagna plot of glucose values for multiple subjectsplot_lasagna
Lasagna plot of glucose values for 1 subject aligned across times of dayplot_lasagna_1subject
Plot meal metrics visualizationplot_meals
Plot Time in Ranges as a bar plotplot_ranges
Plot time series of glucose colored by rate of changeplot_roc
Data Pre-Processorprocess_data
Calculate glucose level quantilesquantile_glu
Calculate glucose level rangerange_glu
Read raw data from a variety of common sensors.read_raw_data
Calculate the Rate of Change at each time point (ROC)roc
Calculate sd glucose levelsd_glu
Calculate SD subtypessd_measures
Calculate the standard deviation of the rate of changesd_roc
Calculate summary glucose levelsummary_glu