ROC analysis showed that CRP/AGR performed best in diagnosing PJI, with an area under curve (AUC) value of 0.902, and the AUCs of NLR (0.740), PLR (0.721), PVR (0.668), GLB (0.719), and AGR (0.767) were all lower than those for CRP (0.896) and ESR (0.829). This evidence concerns the gene ESR1 and juvenile polyposis syndrome.