Receiver operator characteristic (ROC) curves were constructed to determine the effect of the three genes’ expression on gastric cancer, and the AUC was used to determine the degree of confidence: CDH3 (AUC = 0.800, P<0.05, 95% CI =0.857-0.895), LEF1 (AUC=0.620, P<0.05, 95%CI=0.632-0.714), and MMP7 (AUC=0.914, P<0.05, 95%CI=0.714-0.947). The gene discussed is MMP7; the disease is gastric cancer.