In the latter, the density of CD8 T cells in the invasive margins of the pretreatment melanoma samples appeared as a good predictive parameter for response to anti-PD-1 treatment. This evidence concerns the gene CD8A and melanoma.