plot_tb_tree | R Documentation |
Reads a tree in Newick format and plots it using ggtree, coloring tips with the mycolors
palette.
plot_tb_tree(newick_text)
newick_text |
A character string with the tree in Newick format. |
A ggplot object representing the phylogenetic tree.
tree_text <- "(L8,((L1,(L7,(L4,(L2,L3)))),(L5,((A2,(A3,A4)),(A1,(L10,(L6,L9)))))));"
plot_tb_tree(tree_text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.