Correction to: Nature Medicine https://doi.org/10.1038/s41591-025-04126-3, published online 12 January 2026.

In the version of this article initially published, in the y-axis heatmap labels of Fig. 2a, “CD” originally was written as “RA”. This has now been corrected in the HTML and PDF versions of the article.