Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-02931-w, published online 6 May 2024

In the version of the article initially published, the title of Fig. 4 read “APOE3 homozygotes” and has now been amended to “APOE4 homozygotes” in the HTML and PDF versions of the article.