parse_beast_trees {tracerer} | R Documentation |
Parses a BEAST2 .trees output file
parse_beast_trees(filename)
filename |
name of the BEAST2 .trees output file |
the phylogenies in the posterior
Richèl J.C. Bilderbeek
Use save_beast_trees
to save the phylogenies
to a .trees
file.
trees_filename <- get_tracerer_path("beast2_example_output.trees") posterior <- parse_beast_trees(trees_filename) testit::assert(is_trees_posterior(posterior))