In our study, ssGSEA revealed a correlation between endometriosis and several immune cell types, including activated CD4 + T cells, gamma-delta T cells, CD56 dim natural killer cells, eosinophils, monocytes, natural killer T cells, and plasmacytoid dendritic cells. This evidence concerns the gene NCAM1 and endometriosis.