Immune infiltration revealed significant alterations in the immune cell landscape of T2DM patients, with BLVRB and NCF1 showing substantial correlations with various immune cells. This evidence concerns the gene NCF1 and type 2 diabetes mellitus.