WGCNA analysis revealed ABCC5 and WDR7 as potential target genes that may play pivotal roles in the pathogenesis of both T2DM and ASCVD. This evidence concerns the gene WDR7 and type 2 diabetes mellitus.