In conclusion, in patients with recently diagnosed T2D, using RRR analysis, we identified dietary patterns, which are independently associated with serum lipid levels and modified by ApoA5 and ApoE haplotype. This evidence concerns the gene APOE and type 2 diabetes mellitus.