According to the immune infiltrating analysis, four differential immune cells (M2 macrophages, CD4+ T cells, B cells, and Tregs) regulated by C1QA, CCR5, and MSR1 may participate in the pathological process of T2DM complicated with AS. The gene discussed is CCR5; the disease is type 2 diabetes mellitus.