R tools for posterior analyses using BEAST
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Use 'tracerer' instead of 'beastier' Mar 6, 2018
inst Moved code from richelbilderbeek/Cer2016 to here Aug 16, 2016
man Increase code coverage Dec 21, 2017
tests Use 'tracerer' instead of 'beastier' Mar 6, 2018
vignettes
.Rbuildignore
.gitignore Prove that calc_esses has above O(n), progress #10 Feb 23, 2017
.lintr lintrBot is obnoxious Aug 6, 2016
.travis.yml Use 'tracerer' instead of 'beastier' Mar 6, 2018
Codecov.png Added pics Jun 13, 2017
DESCRIPTION Use 'tracerer' instead of 'beastier' Mar 6, 2018
LICENSE Added my initials Aug 5, 2016
NAMESPACE Increase code coverage Dec 21, 2017
RBeast.Rproj Appease lintr Aug 6, 2016
README.md
TravisCI.png Added pics Jun 13, 2017

README.md

RBeast

Branch Travis CI logo Codecov logo
master Build Status codecov.io
develop Build Status codecov.io

R package for working with BEAST and BEAST2.

Use beautier to create BEAST2 input (.xml) files.

Use beastier to run BEAST2.

Use tracerer to parse BEAST2 output (.log, .trees, etc) files.

Use BEASTmasteR for tip-dating analyses using fossils as dated terminal taxa.

Example

library(RBeast)

# Obtain an example log file its name
filename <- system.file(
  "extdata", "beast2_example_output.log", package = "RBeast"
)

# Parse that log file
beast_log_full <- parse_beast_log(filename)

# Remove the burn-in
beast_log <- remove_burn_ins(
  beast_log_full,
  burn_in_fraction = 0.1
)

# Calculates the effective sample sizes of all parameter estimates
esses <- calc_esses(beast_log, sample_interval = 1000)

Instructions

To install RBeast in R:

install.packages("devtools")
devtools::install_github("beast-dev/RBeast")

Acknowledgements

  • This project is supported in part through the National Science Foundation grant DMS 1264153.