The spatial structure of tumor-infiltrating CD8+ T cells, such as the topologically distinct distribution and spatial interplay with other neighboring cells, determine the prognosis and treatment response of patients. This evidence concerns the gene CD8A and neoplasm.