I have a posterior distribution of trees from a Bayesian analysis in
nexus format. Is there a function in R to prune these trees to match my trait dataset? Something like the
treedata function in the R package geiger seems to do what I want, but it does not handle multiple trees.