Pan-cancer (5722 tumors spanning 21 cancer types) correlation analysis of 37 TME parameters (including 35 immunological variables and two non-immunological cell populations) with 26 tumor genetic variables. A core cluster of immunological variables (T cells, CYT, M1 macrophages, NK cells, cytotoxic lymphocytes, CD8 + T cells as well as PD-1, CTLA4 and IDO1 expression) clustered tightly together (yellow box). In the heatmap, 37% of the correlations were significantly positive, 21% were significantly negative (white crosses, FDR< 5%). The abundance of cell populations was estimated by MCP-counter1 and CIBERSORT2. DNA repair deficiency related MutSigs: 3, 6, 10, 15, 20 and 26. APOBEC related MutSigs: 2 and 13.