Correction to: Nature Methods https://doi.org/10.1038/s41592-021-01171-x, published online 21 June 2021.

In the version of this article initially published online, the years 2000, 2010 and 2020 in the x-axis numbering of Fig. 3a were formatted 2,000, 2,010 and 2,020. The error has been corrected in the print, PDF and HTML versions of the article.