tree_sampler {phyloregion} | R Documentation |
Subset trees from posterior distribution of trees.
Description
This function randomly samples a subset of trees from a posterior distribution of trees derived from multiple runs of MrBayes.
Usage
tree_sampler(wd, n = 100, pattern = ".tre", ...)
Arguments
wd |
A path to the working directory with the distributions of multiple phylogenetic trees. |
n |
The desired number of subsets of trees. This defaults to 100. |
pattern |
An optional regular expression specifying the file extension. |
... |
arguments passed among methods. |
Value
An object of class "multiPhylo" with the subset of trees.
Author(s)
Dominic Bennett & Harith Farooq harithmorgadinho@gmail.com
[Package phyloregion version 1.0.9 Index]