This function randomly samples a subset of trees from a posterior distribution of trees derived from multiple runs of MrBayes.
tree_sampler(wd, n = 100, pattern = ".tre", ...)
A path to the working directory with the distributions of multiple phylogenetic trees.
The desired number of subsets of trees. This defaults to 100.
An optional regular expression specifying the file extension.
arguments passed among methods.
An object of class "multiPhylo" with the subset of trees.