A total of 451 significant gene-trait associations were identified across 22 cancer types, with 14 genes significantly associated with three or more TME traits, including IDH1 in KIRC, BRAF in THCA, CDH1 in BRCA, and TP53 in multiple cancer types. This evidence concerns the gene TP53 and cancer.