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. This evidence concerns the gene IDO1 and central nervous system cancer.