In the analysis of MR and colocalization, RAP2A was discovered to result in T2D occurrence. Here, RAP2A is linked to type 2 diabetes mellitus.