Correction to: Nature Medicine https://doi.org/10.1038/s41591-020-01175-8, published online 18 January 2021.

In the version of this article initially published, the Methods section was missing. The Methods section is now included in the HTML and PDF versions of the article.