The selected variables were as follows: VA at baseline (B = −0.865, p < 0.001, 95% CI: [−1.056, −0.675]), duration of T2DM (B = 0.017, p = 0.019, 95% CI: [0.03, 0.030]), retinal detachment at baseline (B = 0.381, p = 0.039, 95% CI: [0.020, 0.741]), and GLP1-RA (B = 0.081, p = 0.471, 95% CI: [−0.143, 0.305]). The gene discussed is GLP1R; the disease is retinal detachment.