The authors present a robust diagnostic algorithm based on digital pathology and image analysis that quantifies intratumoral and stromal CD8+ T-cell densities in the tumor center and invasive margin compartment in metastatic melanoma. This evidence concerns the gene CD8A and neoplasm.