Fig. 5From: treeman: an R package for efficient and intuitive manipulation of phylogenetic treesCode snippet for running EDBMM with treeman: read in balanced tree and set parameters for simulation; in loop, calculate fair proportion measure of evolutionary distinctness and add or remove tips based on these values; finally, extend the tip edges by adding 1Back to article page