When melanomas have spread to the lymph nodes, one of the most important factors is the number of nodes with malignancy. Extent of malignancy within a node is also important; micrometastases in which malignancy is only microscopic have a more favorable prognosis than macrometastases. In some cases micrometastases may only be detected by special staining, and if malignancy is only detectable by a rarely employed test known as the polymerase chain reaction (PCR), the prognosis is better. Macrometastases in which malignancy is clinically apparent (in some cases cancer completely replaces a node) have a far worse prognosis, and if nodes are matted or if there is extracapsular extension, the prognosis is worse still. In addition to these variables, expression levels and copy number variations of a number of relevant genes may be used to support assessment of malignant melanoma prognosis.