NPY and obesity disorder: Finally, NPY has also been shown to indirectly regulate immune function through pathways that affect obesity, diabetes, mood, and thermoregulation, all of which can then modulate the immune response.