Correction to: Nature Medicine https://doi.org/10.1038/s41591-022-01925-w, published online 11 August 2022.

In the version of this article initially published, the Acknowledgments text, now reading “M.S.C. receives funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (grant agreement no. 948677), the Instituto de Salud Carlos III (PI19/00155), and from the ERC under the EU’s ‘la Caixa’ Foundation (ID 100010434) and from the EU’s Horizon 2020 research and innovation program under the Marie Skłodowska-Curie grant (no. 847648, LCF/BQ/PR21/11840004),” was incomplete and has now been amended in the HTML and PDF versions of the article.