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. The gene discussed is CD274; the disease is lung carcinoma.