Transition from vegetative to reproductive shoot apical meristem