We developed a RF model derived from tumor transcriptomes which can successfully classify primary and metastatic tumor samples based on TP53 aberrations. The gene discussed is TP53; the disease is neoplasm.