Correction to: Nature Medicine https://doi.org/10.1038/s41591-023-02620-0, published online 9 November 2023.

In the version of the article initially published, Magda Bosch de Basea’s surname appeared incorrectly (as Bosch de Basea Gomez) and has now been amended in the HTML and PDF versions of the article.