In this study, we used immunohistochemistry and digital image analysis to identify CD3+ and CD8+ cells and tumour cells in 1229 colorectal cancer samples, including a study cohort of 983 patients and an independent validation cohort of 246 cases. The gene discussed is CD8A; the disease is neoplasm.