Correction to: Nature Medicine https://doi.org/10.1038/s41591-018-0308-z, published online 21 January 2019.

Owing to an error during typesetting, a number of references were deleted from the Methods reference list. This altered all of the references in the Methods section and some of the references in Extended Data Fig. 5, making them inaccurate. References 121–134 were added back into the Methods reference list, and the references in the Methods section and in Extended Data Fig. 5 were renumbered accordingly. The error has been corrected in the PDF and HTML versions of this article.