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. Here, B2M is linked to glioma.