Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-022-01218-y, published online 23 December 2022.

In the version of the article initially published, the sentence “J.K. was supported by NIH K00NS115331 and the Burroughs Wellcome Fund” was missing from the Acknowledgements and has now been inserted in the HTML and PDF versions of the article.