Correction to: Nature Methods https://doi.org/10.1038/s41592-018-0211-z, published online 26 November 2018

In the version of this Perspective originally published, Fig. 4g included an incorrect inset adapted from a different figure than the main image in the panel. This error has been corrected in the PDF and HTML versions of the paper.