Correction to: Nature Methods https://doi.org/10.1038/s41592-018-0171-3, published online 30 October 2018

In the version of this paper originally published, important figure labels in Fig. 3d were not visible. An image layer present in the authors’ original figure that included two small dashed outlines and text labels indicating ROI 1 and ROI 2, as well as a scale bar and the name of the cell label, was erroneously altered during image processing. The figure has been corrected in the HTML and PDF versions of the paper.