Pre-existing conditions were associated with altered densities of tumor-infiltrating immune cells, such as adiposity with higher TIL-B (p ≤ 0.05) and Tregs (p ≤ 0.05), smoking with lower NK cells (p ≤ 0.05) and Tregs (p ≤ 0.05), and diabetes mellitus with a lower density of tumor infiltrating T cells as well as a lower PD-L1 TPS (p ≤ 0.05). This evidence concerns the gene CD274 and neoplasm.