Correction to: Communications Materials https://doi.org/10.1038/s43246-020-0033-2, published online 12 June 2020.

While checking the Python code used in the original version of this Article for calculating principal components based on nanoparticle contour coordinates, we realized that the code contained a bug which was causing an indexing error related to the ordering of the projection matrix. This affected the final projection of the data onto the base set of the principal components.

Figure panels 3b, 3c, 3h and 3i have now been replaced with the corrected plots in the PDF and HTML versions of the Article. The findings, text and conclusions of the paper are unchanged by this.

The code uploaded to Figshare that is linked to in the Code Availability statement in the Article has been updated with the bug-free code.