In Mendelian inheritance, a pair of alternative forms of a gene in which one may be dominant and the other recessive.