Correction to: Nature Methods https://doi.org/10.1038/s41592-018-0079-y, published online 31 July 2018.

In the article originally published, Elizabeth Villa’s affiliation should have been University of California, San Diego. This error has been corrected in the HTML and PDF versions of the paper.