Correction to: Nature Medicine https://doi.org/10.1038/s41591-023-02758-x, published online 8 January 2024.

In the version of the article initially published, the Data Availability section and Reporting Summary contained the wrong accession code for the data deposited in the European Genome-Phenome Archive. This has now been updated to “EGAS50000000168” in the HTML and PDF versions of the article.