This regression model included 121 patients, the variables included in our algorithm were; age (p-value=0.003), BSA (p-value=0.406), CYP2C9 (p-value<0.0001), VKORC1 AA (p-value=0.001), VKORC1 GA (p-value<0.0001), Admixture Index 2 (Taíno) (p-value=0.345), Admixture Index 3 (African) (p-value=0.192), Admixture Index 4 (Mixed) (p-value=0.119), Target INR (p-value=0.093), Statin use (p-value=0.415), Amiodarone use (p-value=0.168), Smoker (p-value=0.368), diabetes (p-value=0.040) and vitamin K intake (p-value=0.297). The gene discussed is CYP2C9; the disease is diabetes mellitus.