Single variable logistic analysis results showed that body mass index (BMI) (p = 0.023), DM duration (p < 0.001), apoE (p < 0.001), apoC-II/apo C-III (p < 0.001), apoE/apoC-II (p < 0.001), atherogenic index (p = 0.013), fasting glucose (p < 0.001), HbA1c (p < 0.001), LPA (p = 0.001), and LDL-C/HDL-C (p = 0.031) were risk factors for the occurrence and severity of DR. The gene discussed is APOC2; the disease is diabetes mellitus.