An analysis of stem cell trajectories and their molecular determinants