Correction to: Nature https://doi.org/10.1038/s41586-024-07121-9 Published online 28 February 2024

In the version of the article initially published, the Data availability section did not include the accession codes for the sequencing data generated in this study (available from the Gene Expression Omnibus (GEO) repository under accession code GSE260816) and the clinical study data (available from the European Genome-Phenome Archive (EGA) under the accession code EGAS50000000251). The HTML and PDF versions of the article have now been updated.