Intratumoral expression of PD-L1 and the presence of CD8+ tumor infiltrating lymphocytes (TILs) are predictive markers for anti-PD-1 treatment. Here, CD274 is linked to neoplasm.