Correction to: Nature Metabolism https://doi.org/10.1038/s42255-022-00607-8, published online 11 August 2022

In the version of this article initially published, the name of the Human Pancreas Analysis Program was written incorrectly and has now been amended in the HTML and PDF versions of the article.