Publisher Correction to: Nature Ecology & Evolution https://doi.org/10.1038/s41559-026-02981-y, published online 25 February 2026.

Since the version of the article initially published, several instances of “0” have been removed from the heatmap in Fig. 4d to make it consistent with the figure legend. The original figure is available for comparison in the Supplementary information accompanying this amendment. This correction has been made to the HTML and PDF versions of the article.