To elucidate the characteristics of intratumoral CD8+ T cells in NSCLC patients with LNM, using mIF and machine learning-assisted image analysis, we acquired the amount and single-cell localization of CD8+ T-cell functional subsets and other cells in the tumor microenvironment (TME) in 1116 tissue sites from 279 NSCLC patients. Here, CD8A is linked to non-small cell lung carcinoma.