In this study, we integrated three published datasets of metastatic melanoma treated with anti-PD-1 (n = 120) and constructed an immune-related gene pair index (IRGPI). Here, PDCD1 is linked to metastatic melanoma.