Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03223-z, published online 3 September 2024.

In the version of the article initially published, an incorrect version of Fig. 1 was included. Figure 1 has now been updated in the HTML and PDF versions of the article.