Correction to: Nature Genetics https://doi.org/10.1038/s41588-018-0298-2, published online 10 December 2018

In the version of this article initially published, ‘+’ and ‘–’ labels were missing from the graph keys at the bottom of Fig. 8d. The error has been corrected in the HTML and PDF versions of the article.