Specific expression patterns of ARHGEF9 and SLPI were observed in AP and T2DM, and both genes were found to have high diagnostic value in the two diseases. Here, ARHGEF9 is linked to type 2 diabetes mellitus.