View source: R/igraph_to_phylo.R
| igraph_to_phylo | R Documentation | 
Converts an igraph network into a phylogenetic tree as a phylo object.
igraph_to_phylo(tree, solve_multichotomies)
| tree | igraph object | 
| solve_multichotomies | boolean - whether to remove multichotomies in the resulting phylogenetic tree using ape::multi2di | 
phylogenetic tree
phylo_object <- igraph_to_phylo(AntibodyForests::small_af[["S1"]][["clonotype1"]]$igraph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.