Based on the Swiss Tumor Profiler discovery cohort16 we identified CD8+ T-cell density cut-offs to classify melanomas for each immune diagnostic category. Here, CD8A is linked to melanoma.