Epigenetic would be a more correct answer here.
This term is used to refer to heritable alterations that are not due to changes in DNA sequence. Rather, epigenetic modifications, or tags, such as DNA methylation and histone modification, alter DNA accessibility and chromatin structure, thereby regulating patterns of gene expression.
Epi-marks, are molecular changes that act like temporary "switches" to turn genes on and off. If a gene is a blueprint, the epi-mark is the construction foreman who makes sure the product gets built. An epi-mark also determines when, where and how much a gene is expressed.
"Normally, epi-marks regulating sexual orientation are “erased” after they have produced the intended sexual development (i.e., heterosexual males and females). But, occasionally, a mistake is made, and the epi-mark is not erased but is, instead, passed on to the next generation. According to the model, when this mistake is made, epi-mark regulated testosterone overexposure in a female fetus would result in a masculinized female who will prefer females (a lesbian), whereas epi-mark regulated testosterone underexposure in a male fetus would result in a feminized male who will prefer males (a gay)."
Read more: http://rethinkingtheology.com/2014/08/17/new-theory-homosexuality-is-a-mistake-of-nature/