Correction to: Nature Medicine https://doi.org/10.1038/s41591-023-02591-2, published online 26 October 2023.

In the version of the article initially published, Thomas Similowski’s surname was misspelled (Similoswki), and Baptiste Abbar and Samia Boussouar were not named as equal contributors. These errors have been corrected in the HTML and PDF versions of the article.