theme_tree2 | R Documentation |
tree2 theme
theme_tree2(bgcolor = "white", fgcolor = "black", ...)
bgcolor |
set background color, defaults to "white" |
fgcolor |
set foreground color, defaults to "black" |
... |
additional parameter |
'theme_tree2' supports displaying phylogenetic distance by setting x-axis
updated ggplot object with new theme
Guangchuang Yu
require(ape)
tr <- rtree(10)
ggtree(tr) + theme_tree2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.