To the best of our knowledge, this is the first study that utilized automated whole-slide images assessment of tumour-infiltrating CD3+ and CD8+ T-cells for the prognostic stratification of resected NSCLC. Here, CD8A is linked to non-small cell lung carcinoma.