theme_tree2: theme_tree2

View source: R/theme.R

theme_tree2R Documentation

theme_tree2

Description

tree2 theme

Usage

theme_tree2(bgcolor = "white", fgcolor = "black", ...)

Arguments

bgcolor

set background color, defaults to "white"

fgcolor

set foreground color, defaults to "black"

...

additional parameter

Details

'theme_tree2' supports displaying phylogenetic distance by setting x-axis

Value

updated ggplot object with new theme

Author(s)

Guangchuang Yu

Examples

require(ape)
tr <- rtree(10)
ggtree(tr) + theme_tree2()

GuangchuangYu/ggtree documentation built on April 12, 2024, 5:20 a.m.