Correction to: Nature Methods https://doi.org/10.1038/s41592-019-0493-9, published online 29 July 2019.

In the version of this Article originally published, the authors incorrectly gave the name of a funding source as the ‘Klingenstein-Simons Foundation’; the correct name is the ‘Klingenstein-Simons Fellowship Award in Neurosciences’. This has now been amended in all online versions of the Article.