To determine which leukocyte cell type was associated with B2M‐mediated immune responses, we divided samples into high and low B2M expression groups and then analyzed immune infiltration in gliomas based on the TIMER dataset. This evidence concerns the gene B2M and central nervous system cancer.