An R2=0.4809 was obtained, which is lower when compared to other algorithms [25,27–30], but must point out that the variables included in our algorithm are ones that are available beforehand (age, BSA, CYP2C9, VKORC1, admixture index, target INR, statin use, amiodarone use, smoker, diabetes and vitamin K intake). The gene discussed is CYP2C9; the disease is diabetes mellitus.