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()

YuLab-SMU/ggtree documentation built on Nov. 3, 2024, 4:15 p.m.