Taken together, KCDEGs may be a vital part of the melanoma immune infiltration regulatory network and suggest a predictive effect on the response to anti-PD-1 therapy. Here, PDCD1 is linked to melanoma.