View source: R/create_twin_tree.R
create_twin_tree | R Documentation |
It sets the seed with value twinning_params$rng_seed_twin_tree
,
then generates a tree by
calling twinning_paramssim_twin_tree_fun
on the
given tree.
create_twin_tree(phylogeny, twinning_params = create_twinning_params())
phylogeny |
a phylogeny of class phylo |
twinning_params |
can be |
a phylogeny of type phylo
Richèl J.C. Bilderbeek, Giovanni Laudanno
phylogeny <- ape::read.tree(text = "((A:1, B:1):1, C:2);")
twin_phylogeny <- create_twin_tree(phylogeny)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.