Description Usage Arguments Details Note Author(s) References See Also
BEAST uses an MCMC approach to estimate rooted phylogenies from molecular data (Drummond & Rambaut, 2007). This function is intended to prepare XML files for BEAST with R. See note
section for currently supported models.
1 2 3 4 |
path |
A character string, defines directory and filename for the XML input file. |
s |
An object of class |
taxonset |
A list giving the taxon sets. |
monophyly |
A vector indicating monophyly constraints for the taxon sets declared with |
tmrcaCons |
A list, containing the prior distribution(s) for age constraints of internal nodes (which must be grouped by |
startingTree |
Either "random" or "upgma", or an object of class |
specModel |
A character string indicating an evolutionary model to construct a prior distribution of node heights (tree prior). Currently implemented are the Yule Model ( |
clock |
A character string, either |
ngen |
A character string, the number of generations to run the MCMC. |
samplefreq |
A character string, the intervals between sampling the MCMC. |
logSubs |
A logical, indicating if trees with branch lengths expressed as substitution should be logged. |
nodata |
A logical, indicating if BEAST should be run without data (see details). |
<add details ... >
Bayesian analyses should be run with and without data, to test the effect of the prior on the results. A XML file that runs without data can be obtained by setting nodata = TRUE
. See: http://beast.bio.ed.ac.uk/Sampling_the_Prior.
rbeauti
has been tested with BEAST 1.5.3.
Currently, there are certain limitations of rbeauti
compared to BEAUTi:
Only the GTR model is supported.
The exponential relaxed clock model is not supported.
Only the tree priors 'Speciation: Yule', 'Speciation: Birth-Death', and 'Coalescent: Constant' are implemented.
On the other hand, rbeauti
accepts a user-defined starting tree. In order to avoid imcompatibilities between this starting tree and other priors, this tree should (but sometimes does not need to) be ultrametric satisfying all the priors on node heights that will be used in BEAST.
rbeauti
also incorporates the rules of thumb for setting operator weights given in 'A Rough Guide to BEAST 1.4' (p. 15).
Christoph Heibl
The BEAST v.1.5.x XML reference: http://beast.bio.ed.ac.uk/BEAST_v1.5.x_XML_Reference
Drummond, A.J. & A. Rambaut. 2007. BEAST: Bayesian evolutionary analysis by sampling trees. BMC Evolutionary Biology 7: 240.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.