The results of GO enrichment analysis revealed that B2M contributed to immune cell infiltration in glioma patients. Here, B2M is linked to central nervous system cancer.