I know diet, rest (sleep), exercise all factor in, but how about genes? Will it contribute greatly or its effect are insignificant?

Thanks.