After validation by RT-qPCR, the obtained DEGs were as follows—G1 + G2 versus G3: HLA-DQA1, SOS1, and BRCA2; G2 versus G1: ENO2, VAMP2, CCND3, CEBPD, LGALS12, AGBL5, MAP2K5, and PPAP2B; G2 versus G3: HLA-DQB1, MCM4, and SEC13; and G1 versus G3: PPIC. This demonstrated a systemic exacerbation of the gene expression related to immune response in T2D patients. Here, LGALS12 is linked to type 2 diabetes mellitus.