The results show that the effect of coffee varies depending on which variant the women have of a gene called CYP1A2, which codes for an enzyme that metabolizes both estrogen and coffee.