
Parses BEAST2 output files to a posterior
Source:R/parse_beast_posterior.R
      parse_beast_posterior.RdParses BEAST2 output files to a posterior
Arguments
- trees_filenames
 the names of one or more a BEAST2 posterior
.treesfile. Each.treesfile can be read using parse_beast_trees- tracelog_filename
 name of the BEAST2 tracelog
.logoutput file, as can be read using parse_beast_tracelog_file- log_filename
 deprecated name of the BEAST2 tracelog
.logoutput file. Usetracelog_filenameinstead
Value
a list with the following elements:
item
estimates: parameter estimates item[alignment_id]_trees: the phylogenies in the BEAST2 posterior.[alignment_id]is the ID of the alignment.
See also
Use remove_burn_ins to remove the burn-ins from
  the posterior's estimates (posterior$estimates)
Examples
trees_filenames <- get_tracerer_path("beast2_example_output.trees")
tracelog_filename <- get_tracerer_path("beast2_example_output.log")
posterior <- parse_beast_posterior(
  trees_filenames = trees_filenames,
  tracelog_filename = tracelog_filename
)