Correction to: Nature https://doi.org/10.1038/s41586-020-03091-w Published online 6 January 2021

In the version of this article initially published online, the P values reported in Supplementary Table 2 were from an earlier analysis and are now updated. In the last sentence of the “Rice cultivation conditions” section in Methods now reading “Each seedling was grown … urea was used as the nitrogen source with net nitrogen 0.5 kg 100 m−2 for low nitrogen and 1.5 kg 100 m−2 for moderate nitrogen”, the units “kg 100 m−2” replace the original “kg m−2”. The changes have been made in the online version of the article