In the high PD-L1 expression group, but not in the low PD-L1 expression group of BLCA (HR = 1.56, P = 0.0327) and STAD (HR = 1.77, P = 0.0117), macrophages were revealed to be negatively associated with overall survival. The gene discussed is CD274; the disease is bladder transitional cell carcinoma.