
Calculate Triglyceride-Glucose Index (TyG)
leo_TyG.RdThis function calculates the Triglyceride-Glucose Index (TyG) using triglyceride and glucose values.
Note
The formula for TyG is: $$TyG = \log \left( \frac{triglycerides \times glucose}{2} \right)$$ Triglycerides and glucose are converted from mmol/L to mg/dL using the factors:
Triglycerides: $$mg/dL = mmol/L \times 88.5704$$
Glucose: $$mg/dL = mmol/L \times 18.0168$$ – In UKB, triglycerides (Field ID: 30870) and glucose (Field ID: 30740) are measured in mmol/L.
References
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3662289/ (Cardiovasc Diabetol, 2013)