Correction to: Nature Medicine https://doi.org/10.1038/s41591-025-03574-1, published online 6 March 2025.

In the version of this article initially published, there were typographical errors in the heading of Fig. 5u, where “AN1792” appeared as “AN179”; in Fig. 5v, where “P adj. <0.1” appeared as “P adj. <0.01”; and in Extended Data Fig. 5i, top-left x-axis label, where “AN1792” appeared as “AN179.” The figures have been updated in the HTML and PDF versions of the article.