Analysis of specific immune cell populations showed an influence of TP53 mutations on the composition of the immune TME for 12 of the 32 investigated cancer subtypes. Here, TP53 is linked to cancer.