View source: R/convert.eNewick.R
convert.eNewick | R Documentation |
Takes a phylogenetic tree in extended Newick format and converts it to
traditional Newick format that can be directly manipulated by packages such
as ape
and phytools
.
convert.eNewick(eNewick)
eNewick |
phylogenetic tree in extended Newick format. |
phylogenetic tree in traditional Newick format.
### Converts the phylogenetic tree into traditional Newick format.
tree <- "((A:0.1,(B:0.3,C:0.2):0.2[60]):0.4[100],(E:0.12,F:0.09):0.4[100]);"
new.tree <- convert.eNewick(tree)
new.tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.