Transcriptome-wide association study allowed revealing the genetic link between T2D susceptibility and both the increased expression of EDEM2, MYH7B, MAP1LC3A and the decreased expression of CPNE1 in the pancreas. This evidence concerns the gene CPNE1 and type 2 diabetes mellitus.