Male patients with colorectal cancer (COAD; log-rank test, p = 0.041; Supplementary Fig. 3a) or glioblastoma multiforme (GBM; log-rank test, p = 0.011; Supplementary Fig. 3b) with anti-PD-1/PD-L1 therapy showed better OS. Here, CD274 is linked to colorectal cancer.