Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-022-01062-0, published online 2 May 2022.

In the version of this article initially published, the bar graph shown in Fig. 6d was a duplicate of Fig. 6c. The figure panel has been corrected in the HTML and PDF versions of the article.