
Calculate eGFR by CKD-EPI 2021 (untested)
leo_eGFR_v2021.RdUsage
leo_eGFR_v2021(
gender,
age,
creatinine,
creatinine_unit = c("umol/L", "mg/dL"),
...
)Arguments
- gender
Numeric/character vector for sex, usually from UKB field
p31(0= Female,1= Male).- age
Numeric/character vector for age in years, usually from UKB field
p21003.- creatinine
Numeric/character vector for serum creatinine, usually from UKB field
p30700.- creatinine_unit
Unit of
creatinine, either"umol/L"(UKB default) or"mg/dL".- ...
Reserved for future use.
Details
Estimate glomerular filtration rate (eGFR, mL/min/1.73m^2) using the 2021 CKD-EPI creatinine equation. This is the race-free creatinine-only equation currently highlighted by NIDDK for adult eGFR reporting.
Note
UK Biobank-friendly inputs are p31, p21003_i0, and p30700_i0.
When creatinine_unit = "umol/L" (default), creatinine is converted internally to mg/dL
by dividing by 88.4. Use age and creatinine from the same assessment instance when possible.
This function is currently untested on real UKB export files.
References
https://www.niddk.nih.gov/research-funding/research-programs/kidney-clinical-research-epidemiology/laboratory/glomerular-filtration-rate-equations/adults https://biobank.ndph.ox.ac.uk/ukb/field.cgi?id=31 https://biobank.ndph.ox.ac.uk/ukb/field.cgi?id=21003 https://biobank.ndph.ox.ac.uk/ukb/field.cgi?id=30700