Correction to: Nature Reviews Neuroscience https://doi.org/10.1038/s41583-023-00733-6, published online 23 August 2023.

In the version of the article initially published, in the caption of Fig. 3, the descriptions “green”, “orange”, “maroon” and “red” mistakenly appeared as “yellow”, “purple”, “red” and “orange”, respectively. These errors have now been corrected in the HTML and PDF versions of the article.