Our results showed that B2M had a high correlation with PDCD1, CD274, PDCD1LG2, CD276, CTLA-4, IDO1, HAVCR2, and CD80 in pan-glioma and LGG. The gene discussed is CD276; the disease is glioma.