Immune cells were mainly enriched in cluster B, and HLA-DMA, HLA-DQB1, and HLA-DQB2 were significantly increased in cluster B. GSVA enrichment results show that cluster B is mainly enriched in glycan biosynthesis, glycosaminoglycan biosynthesis chondroitin sulfate, P53 signaling pathway, and primary immunodeficiency. The gene discussed is HLA-DQB2; the disease is inborn error of immunity.