Correction to: Nature Communication ; https://doi.org/10.1038/s41467-017-02658-y; published online 10 January 2018

The original version of this article contained Figshare links in the Code availability statement that were not functional. The correct Figshare links to MATLAB scripts and R code used in this study are https://doi.org/10.6084/m9.figshare.4955651 and https://doi.org/10.6084/m9.figshare.4836383, respectively. These errors have now been corrected in both the PDF and HTML versions of the article.