While the proximity of total T cells and CD8+ T cells overall to melanoma was not associated with patient outcome, CD39+ CD8+ T cell phenotypes (P1-P4), P6 (CD39-CD103+PD-1-) and B cells were significantly closer to melanoma cells in patients with good outcomes (Figure 3B). Here, CD8A is linked to melanoma.