Methylation status of TRAF2 is associated with the diagnosis and prognosis of gastric cancer.