Correction to: Nature Genetics https://doi.org/10.1038/s41588-023-01363-5. Published online 4 May 2023.

In the version of this article originally published, the author’s name shown for ref. 6 (Dawes, R. et al. https://doi.org/10.1038/s41588-022-01293-8(2023)) and the author’s name and DOI listed in ref. 7 (Wagner, N. et al. https://doi.org/10.1038/s41588-023-01373-3 (2023)) were incorrect. The errors have been corrected in the HTML and PDF versions of the article.