Correction to: Nature Medicine https://doi.org/10.1038/s41591-024-03209-x, published online 26 August 2024.

In the version of the article initially published, Brian Lawlor’s name appeared incorrectly (as Brain) and has now been amended in the HTML and PDF versions of the article.