SampleTrees | R Documentation |
This function takes as its input a large collection of trees from a program like MrBayes or Beast and allows the user to select the number of randomly drawn trees they wish to retrieve
SampleTrees(trees, burnin, final.number, format, prefix)
trees |
a nexus format file containing trees that the user wants to sample from |
burnin |
the proportion of trees to remove as burnin |
final.number |
the number of trees desired |
format |
options are "new" or "nex" indicating to save the trees in newick format or nexus format |
prefix |
a text string to assing to the new treefile name |
an object of the class "multiPhylo" is returned
Heath Blackmon
SampleTrees(trees = system.file("trees.nex", package = "evobiR"),
burnin = .1, final.number = 20, format = 'new', prefix = 'sample')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.