Correction to: Nature Methods https://doi.org/10.1038/s41592-019-0326-x, published online 11 February 2019.

The version of this paper originally published online contained an error in the x-axis of Fig. 2c: the LatB concentrations should be 0.4 and 1 μM, but during typesetting, the 1 μM label was incorrectly changed to 0.1 μM. The label is now correct in the print, PDF, and HTML versions of the paper. In addition, in the article’s online Supplementary Information, Supplementary Video 2 was a duplicate of Supplementary Video 1. The correct versions of both videos are now available online.