Positive feedback in the transition from sexual reproduction to parthenogenesis