Correction to: Nature Published online 28 February 2024

In the version of the article initially published, the colours used in the top right panel of Fig. 4a did not match the colour-blind-friendly palette used in that panel’s key. The figure has now been updated in the HTML and PDF versions of the article.