Deep transfer learning methodologies reveal hidden heterogeneity in β-cells driven by type 2 diabetes and obesity.