Inferring bifurcations between phenotypes