Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-022-01104-7. Published online 27 June 2022.

In the version of this article originally published, there was an error in the topmost label (“LPS injection”) in Figure 4f. The citation to Lee et al. 2021 should have been to Hasel et al. 2021 (Nat. Neurosci. 24, 1475–1487 (2021)). The figure has been corrected in the HTML and PDF versions of the article.