Correction to: Nature Methods https://doi.org/10.1038/s41592-020-0884-y, published online 13 July 2020.

In the version of this article initially published online, graphics elements were missing from Fig. 5b. The error has been corrected in the print, PDF and HTML versions of the article.

Fig. 5
figure 1

Corrected.

Fig. 5
figure 2

Original.