sample_trees | R Documentation |
Sample trees from a file containing multiple trees. Usually from a bayesian analysis output trees file.
sample_trees(trees_file, trees_object = NULL, burnin = 0.25, size = 100)
trees_file |
A character vector indicating the name and directory of file with trees to sample. |
trees_object |
An R object containing a list of trees already read into R from a tree file from a bayesian analysis output. |
burnin |
A numeric vector indicating the burnin fraction. It should be a number between 0 and 1. Default to 0.25 |
size |
A numeric vector indicating the number of samples to be generated. |
A multiPhylo
object with a random sample of trees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.