Description Usage Arguments Details Value Warning See Also Examples
This function reads in a .trees
file written by BEAST,
BEAST2 or one of the associated packages. The input file
can contain a single tree or a set of posterior trees. The input
file must be in NEXUS format and must be terminated by "END;"
1 | readTreeLog(filename, burnin = 0.1)
|
filename |
The name of the trees file to read. |
burnin |
Discard this proportion of trees at the start of the file. |
In practice the function is a wrapper for read.nexus
,
with the ability to easily discard some proportion of trees as burnin-in.
An object of class "phylo" or "multiphylo" containing one or many trees.
The function will attempt to read the whole trees file. If the file is large this may take a long time or run out of memory.
1 2 3 4 5 | # Read trees file with 10% burnin
readTreeLog(filename)
# Read trees file without a burnin
readTreeLog(filename, burnin=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.