Correction to: Nature Electronics https://doi.org/10.1038/s41928-022-00800-3, published online 8 August 2022.

In the version of this article initially published, there were errors in the unit labels for the y-axes of Figure 3e,h, where in the text now reading “|Ids| (A μm–1)”, “A” appeared in error as “mA”. The labels have been corrected in the HTML and PDF versions of the article.