Correction to: Nature Genetics https://doi.org/10.1038/s41588-025-02084-7, published online 10 February 2025.

In the version of this article originally published, due to a figure preparation mistake, in Fig. 6c, the brain images under “8 weeks postconception” were interchanged and are now corrected so the yellow-orange-gray brain is at top and the red-gray brain is at bottom. The figure has been updated in the HTML and PDF versions of the article.