While the M1 type of melanoma lesions (pigmentation type) was characterized by gene signatures of pigmentation and MITF activity and an enrichment of NRAS-mutant melanomas, the M2-type lesions (immune response type) showed gene signatures of inflammation, immune genes, and AXL kinase activity, with a low prevalence of NRAS-mutant melanomas. Here, NRAS is linked to melanoma.