We successfully developed an automated digital signature based on the product of the densities of CD8+ cells and PD-L1+ cells measured by automated image analysis applied to consecutive IHC-stained lung cancer tissue sections. Here, CD274 is linked to lung cancer.