rbeauti: XML Input Files for BEAST

Description Usage Arguments Details Note Author(s) References See Also

Description

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.

Usage

1
2
3
4
rbeauti(path = "aaa.xml", s, taxonset = NULL, monophyly = NULL,
  tmrcaCons = NULL, startingTree = "random", specModel = "yule",
  clock = "strict", ngen = "10000000", samplefreq = "10000",
  logSubs = FALSE, nodata = FALSE)

Arguments

path

A character string, defines directory and filename for the XML input file.

s

An object of class DNAbin.

taxonset

A list giving the taxon sets.

monophyly

A vector indicating monophyly constraints for the taxon sets declared with taxonset.

tmrcaCons

A list, containing the prior distribution(s) for age constraints of internal nodes (which must be grouped by taxonset).

startingTree

Either "random" or "upgma", or an object of class "phylo" to be used as a starting tree.

specModel

A character string indicating an evolutionary model to construct a prior distribution of node heights (tree prior). Currently implemented are the Yule Model ("yule"), the Birth-Death Model ("birthDeath"), and the Coalescent model with constant size (choosen with any other string).

clock

A character string, either "strict" or "lognormal" to choose between the strict clock and the uncorrelated lognormal relaxed clock model. The exponential rates relaxed clock is currently not supported.

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).

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.

Note

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).

Author(s)

Christoph Heibl

References

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.

See Also

read.beast


fmichonneau/phyloch documentation built on May 16, 2019, 1:45 p.m.