Ten SLC24A2-related genes (RRP36, RPF1, GRWD1, FBL, EXOSC5, BCCIP, UTP14A, TWISTNB, TBL3, and SKIV2L) were identified as hub genes, based on which the LASSO model accurately predicts the occurrence of T2D (AUC = 0.841). The gene discussed is RRP36; the disease is type 2 diabetes mellitus.