Beta-endorphin levels, in particular, can be used to diagnose depression, given that individuals with depression exhibit abnormal levels of endorphins. This evidence concerns the gene POMC and major depressive disorder.