These results indicate that XR_108954.2 and E2F2 function in the glucose and glycolipid metabolic pathways during T2D progression and have potential diagnostic value in T2D. This evidence concerns the gene E2F2 and type 2 diabetes mellitus.