Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-024-01576-9, published online 22 February 2024.

In the version of the article initially published, James F. M. Meaney (Thomas Mitchell Centre for Advanced Medical Imaging (CAMI), St. James’s Hospital & Trinity College Dublin, Dublin, Ireland) was mistakenly omitted from the author list and contributions (diagnostic reporting of MRI scans) and has now been added in the HTML and PDF versions of the article.