BDNF and major depressive disorder: MDD diagnosis moderated the association between methylation of BDNF and cognitive functioning in memory and executive function, as MDD patients with increased methylation showed a poorer cognitive profile.