Since beta cells are the key cells leading to T2D, we search for hub genes in CCSN of beta cells and find that ATP6AP2 is essential for regulation and storage of insulin, and the renin-angiotensin system involving ATP6AP2 is related to most pathological processes leading to diabetic nephropathy. This evidence concerns the gene ATP6AP2 and type 2 diabetes mellitus.