Description Usage Arguments Value Author(s)
See if a file its two species trees have different branch lengths
1 |
file |
The file, as read from wiritttes::read_file |
TRUE if the two species have different branch lengths, else FALSE # Create a parameter file filename <- "add_species_trees_example.RDa" save_parameters_to_file( rng_seed = 42, sirg = 0.5, siri = 0.5, scr = 0.5, erg = 0.5, eri = 0.5, age = 5, mutation_rate = 0.1, n_alignments = 1, sequence_length = 10, nspp = 10, n_beast_runs = 1, filename = filename )
# Simulate an incipient species tree add_pbd_output(filename)
# Add the species trees add_species_trees(filename = filename) testit::assert(has_species_trees(read_file(filename)))
testit::assert(have_same_strees(read_file(filename)))
Richel Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.