Computational analysis of whole slide images predicts PD-L1 expression and progression-free survival in immunotherapy-treated non-small cell lung cancer patients. Here, CD274 is linked to non-small cell lung carcinoma.