Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-021-00833-5, published online 19 April 2021.

In the version of this article initially published, spelling errors occurred in the figure labels. The errors have been corrected in the PDF and HTML versions of this article.