Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-02993-w, published online 24 May 2024

In the version of the article initially published, Viktor H. Koelzer and Tjalling Bosse were not named as equal contributors. This has now been corrected in the HTML and PDF versions of the article.