Further, we identified hydroxymethylglutaryl (HMG)-CoA synthase 2 (HMGCS2) as the most upregulated gene and a key ketogenic enzyme for all biochemical pathways and networks in T1D mice with cardiac dysfunction. Here, HMGCS2 is linked to type 1 diabetes mellitus.