Lastly, the tumour necrosis factor-alpha (TNF-α) signalling pathway was significantly enriched as one of the biological mechanisms underpinning endometriosis and migraine in the present study. This evidence concerns the gene TNF and endometriosis.