Correction to: Nature https://doi.org/10.1038/s41586-024-08216-z Published online 20 November 2024

In the version of the article initially published, the images in Figs. 2c and 5d were too dark to allow visualisation of the tissue and have now been corrected. Additionally, in Fig. 2a, the top inset box in the “Distal colon” graph was above the panel and has now been corrected to be inline with the other panels. In the legend to Fig. 5e, “left” and “right” have been changed to “top” and “bottom”, respectively. These corrections have been made to the HTML and PDF versions of the article.