| Branch | ![]() |
![]() |
|---|---|---|
master |
||
develop |
tracerer, 'Tracer for R' is an R package to work with BEAST2 output files.
tracerer is part of the babette package suite:
beautiercreates BEAST2 input (.xml) files.beastierruns BEAST2mauricer: install BEAST2 packagestracererpastes BEAST2 output (.log,.trees, etc) files.
Related R packages:
lumier: Shiny app to help create the function call neededBEASTmasteR: tip-dating using fossils as dated terminal taxaRBeast: misc other thingstracerer_on_windows: verifiestracererbuilds on Windows
library(tracerer)
# Obtain an example log file its name
filename <- get_tracerer_path("beast2_example_output.log")
# Parse that log file
beast_log_full <- parse_beast_tracelog_file(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)
You can install:
- (recommended) The CRAN version
- The stable development version
- The bleeding edge development version
tracerer is on CRAN:
install.packages("tracerer")
Install the tracerer master branch using remotes:
remotes::install_github("ropensci/tracerer")
Install the tracerer develop branch using remotes:
remotes::install_github("ropensci/tracerer", ref = "develop")
See FAQ
See CONTRIBUTING, at Submitting use cases
See CONTRIBUTING, at 'Submitting code'
See CONTRIBUTING, at 'Submitting bugs'
Sure, just add an Issue. Or send an email.
Article about babette:
- Bilderbeek, Richèl JC, and Rampal S. Etienne. "
babette: BEAUti 2, BEAST 2 and Tracer for R." Methods in Ecology and Evolution (2018). https://doi.org/10.1111/2041-210X.13032
FASTA files anthus_aco.fas and anthus_nd2.fas from:
- Van Els, Paul, and Heraldo V. Norambuena. "A revision of species limits in Neotropical pipits Anthus based on multilocus genetic and vocal data." Ibis.



