Better objective response rates were associated with metachronous metastases (P = 0.04), PD-L1 tumour- and/or immune-cell status (P = 0.01), CD163+ histiocytes at advancing edges (P = 0.009) of primary melanomas and NRAS mutation (P = 0.019). This evidence concerns the gene NRAS and melanoma.