The 5 diagnostic genes, namely, inter-trypsin inhibitor heavy chain 3 (ITIH3), fibroblast growth factor 1 (FGF1), neuron cell adhesion molecule (NRCAM), advanced glycosylation end-product-specific receptor (AGER), and calcium voltage-gated channel subunit alpha1 C (CACNA1C), were identified via LASSO analysis, and they were involved in carboxylic acid transport, axonogenesis, etc. M2 Macrophage, Monocyte, Natural killer (NK) cell, and Myeloid dendritic cells (DC) were remarkably different between T2DM and control samples. Here, FGF1 is linked to type 2 diabetes mellitus.