BRAF, RAS, and NF1 mutations were significantly associated with lymph node metastasis or presence of ulceration, implying that these cancer driver genes were independent prognostic factors. This evidence concerns the gene NF1 and metastatic malignant neoplasm in the lymph nodes.