Among these, COL5A1, IRF7, CD74, and HLA-DRB1 expression was suggested to have diagnostic value in T2D, and the expression levels of PSMB9, COL1A1, and COL4A1 were significantly higher in T2D after validation. Here, IRF7 is linked to type 2 diabetes mellitus.