Correction to: Nature Medicine https://doi.org/10.1038/s41591-018-0336-8, published online 28 January 2019.

In the version of this article originally published, a sentence was erroneously included in the author contributions, and information regarding second shared authorship was missing from the author contributions. The following should not have been included in the author contributions: “C.W. and A.J.R.H. supervised the work presented in Figs. 1, 2, 5, 6; P.Z. and C.S. supervised the work presented in Figs. 3, 4.” Additionally, this sentence should have appeared at the beginning of the author contributions: “These authors contributed equally: C.W., P.F.Z., C.S., and A.J.R.H.” The errors have been corrected in the print, PDF and HTML versions of the article.