Correction to: Nature Methods https://doi.org/10.1038/s41592-018-0232-7, published online 10 December 2018

The originally published paper has been updated to include the following new reference, added as ref. 18: Albrecht, T., Zhao, Y., Nguyen, T. H., Campbell, R. E. & Johnson, J. D. Fluorescent biosensors illuminate calcium levels within defined beta-cell endosome subpopulations. Cell Calcium 57, 263–274 (2015). Subsequent references have been renumbered in the reference list and throughout the text. Minor text changes were made in the sentence in which this new reference is first cited: “Previous attempts used endocytic tracers bearing either pH- or Ca2+-sensitive dyes to serially measure population-averaged pH and apparent Ca2+ in different batches of cells, thus scrambling information from individual endosomes13–17” in the original introduction was changed to “Previous attempts used endocytic tracers bearing either pH- or Ca2+-sensitive dyes13–17 or fluorescent-protein-based sensors18 to serially measure population-averaged pH and apparent Ca2+ in different batches of cells, thus scrambling information from individual endosomes.” These changes have been made in the HTML and PDF versions of the article.