Trait inheritance in peas