Trees within trees: phylogeny and historical associations