Skip to content

Releases: sufyansuleman/InsuSensCalc

InsuSensCalc v0.1.0

11 Jun 17:52

Choose a tag to compare

This release corrects several insulin sensitivity index formulas after verifying each against its original publication and Table 2 of the package's source paper (Suleman 2024). Computed values for the affected indices change relative to 0.0.1, see below.

⚠️ Formula corrections (change computed values)
VAI_Men_inv / VAI_Women_inv: Fixed the denominator grouping so waist is divided by the full (constant + slope * BMI) term, and switched triglycerides/HDL-C to mmol/L as required by the original constants (Amato 2010, doi:10.2337/dc09-1825). Previous values were substantially off.
LAP_Men_inv / LAP_Women_inv: Triglycerides now used in mmol/L (Kahn 2005, doi:10.1186/1471-2261-5-26); previous mg/dL values were inflated ~88.6x.
McAuley_index: Triglycerides now used in mmol/L (McAuley 2001, doi:10.2337/diacare.24.3.460).
Avignon_Sim: Now computed as the data-driven weighted mean (w * Si0 + Si120) / 2, where w = mean(Si120) / mean(Si0), matching Table 2 of Avignon 1999 (doi:10.1038/sj.ijo.0800864). This index now depends on the full sample. The previous expression returned an invalid, dataset-wide collapsed value.
Matsuda_ISI: Mean glucose/insulin terms now use the same units (mg/dL, µU/mL) as the fasting terms, fixing a unit mismatch (Matsuda & DeFronzo 1999, doi:10.2337/diacare.22.9.1462).
BigttSi: Corrected the 30-minute insulin coefficient from 0.000565 to 0.000556 (Hansen 2007, doi:10.2337/dc06-1240).
Homa_IR_inv: Now uses glucose in mmol/L, giving the standard HOMA-IR (Matthews 1985, doi:10.1007/BF00280883); previous mg/dL-based values were ~18x too large.
Maintenance
Homa_IR_inv and HOMA_IR_rev_inv are both retained as separate columns; after the units fix they return the same standard HOMA-IR value.
Removed library() calls from package source (imports handled via NAMESPACE); dropped the unused tidyr dependency.
Documentation now states the correct triglyceride (* 88.57) and HDL-C (* 38.67) unit-conversion factors and fixes a reversed insulin-conversion comment.
Added a citation for the package's source publication (Suleman 2024, doi:10.1210/clinem/dgae275) to DESCRIPTION.
Submission status
This version has been submitted to CRAN.