Correction to: Nature Methods https://doi.org/10.1038/s41592-019-0654-x, published online 2 December 2019.

In the version of this article initially published online, an author name was given as Federico Martini; the correct name is Federico Marini. The error has been corrected in the print, PDF and HTML versions of the article.