The areas under the ROC curves (AUCs) of CD8+ T cells and CD163+ macrophages were 0.727 and 0.833, respectively, which indicated that CD8 and CD163 were potential diagnostic markers for endometriosis (Figures 5C, D). This evidence concerns the gene CD163 and endometriosis.