Correction to: Nature Medicine https://doi.org/10.1038/s41591-023-02317-4. Published online 24 April 2023.

In the version of this article initially published, the STRATIFY data also included cohort data from the ESTRA consortium, though this was not acknowledged in the author list and the section in Methods on the Stratify dataset. The Methods are now updated, and the author list is amended to combine the STRATIFY and ESTRA consortium names and to include the following authors: Marina Bobou, M. John Broulidakis, Betteke Maria van Noort, Zuo Zhang, Lauren Robinson, Nilakshi Vaidya, Jeanne Winterer, Yuning Zhang, Sinead King, Hervé Lemaître, Ulrike Schmidt, Julia Sinclair, Argyris Stringaris and Sylvane Desrivières. The STRATIFY and ESTRA consortia are now combined to list Marina Bobou, M. John Broulidakis, Betteke Maria van Noort, Zuo Zhang, Lauren Robinson, Nilakshi Vaidya, Jeanne Winterer, Yuning Zhang, Sinead King, Gareth J. Barker, Arun L. W. Bokde, Hervé Lemaître, Frauke Nees, Dimitri Papadopoulos Orfanos, Ulrike Schmidt, Julia Sinclair, Argyris Stringaris, Henrik Walter, Robert Whelan, Sylvane Desrivières and Gunter Schumann as members, and the IMAGEN consortium is updated to also include Sylvane Desrivières. Affiliations, author contributions and acknowledgements have been updated to reflect the new authorship, and all changes have been made in the HTML and PDF versions of the article.