Some differentially methylated genes (DMGs) were co-expressed in HCC and T2DM, such as ST3 beta-galactoside alpha-2,3-sialyltransferase 2 (ST3GAL2) and glycerophosphodiester phosphodiesterase domain containing 2 (GDPD2). This evidence concerns the gene ST3GAL2 and type 2 diabetes mellitus.