We evaluated the density of CD8 + T-cell functional subsets, the mean nearest neighbor distance (mNND) between CD8 + T cells and neighboring cells, and the cancer-cell proximity score (CCPS) in invasive margin (IM) as well as tumor center (TC) to investigate their relationships with LNM and prognosis. The gene discussed is CD8A; the disease is neoplasm.