Correction to: Nature Methods https://doi.org/10.1038/s41592-019-0722-2, published online 6 January 2020.

In the version of this article initially published, work at the BC Cancer Research Centre was attributed to Samuel Aparicio. This has been changed to Samuel Aparicio and Sohrab P. Shah. The research team’s description later in the paragraph has been changed from “now also including Sohrab P. Shah from the Memorial Sloan Kettering Cancer Center in New York” to “with Shah now at Memorial Sloan Kettering Cancer Center in New York.” The errors have been corrected in the HTML and PDF versions of the article.