Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-018-0148-7, published online 21 May 2018.

In the version of this article originally published, the reference citations in the Methods section were misnumbered. This has now been corrected in the HTML and PDF versions of the paper.