Gene expression profiles separate endometriosis lesion subtypes and indicate a sensitivity of endometrioma to estrogen suppressive treatments through elevated ESR2 expression. Here, ESR2 is linked to endometriosis.