Next, we calculated the diagnostic value of the 12 hub ATGs for endometriosis using the ROC analysis, and the results showed the high sensitivity and specificity of EZH2 (AUC: 99.0%) and RND3 (AUC: 94.0%) in diagnosing endometriosis. This evidence concerns the gene EZH2 and endometriosis.