is_trees_file {tracerer} | R Documentation |
Measure if a file a valid BEAST2 .trees
file
Description
Measure if a file a valid BEAST2 .trees
file
Usage
is_trees_file(trees_filename, verbose = FALSE)
Arguments
trees_filename |
name of a BEAST2 posterior |
verbose |
set to TRUE for more output |
Value
TRUE if trees_filename
is a valid .trees
file
Author(s)
Richèl J.C. Bilderbeek
See Also
Most of the work is done by read.nexus
Examples
# TRUE
is_trees_file(get_tracerer_path("beast2_example_output.trees"))
is_trees_file(get_tracerer_path("unplottable_anthus_aco.trees"))
is_trees_file(get_tracerer_path("anthus_2_4_a.trees"))
is_trees_file(get_tracerer_path("anthus_2_4_b.trees"))
# FALSE
is_trees_file(get_tracerer_path("mcbette_issue_8.trees"))
[Package tracerer version 2.2.3 Index]