add_colorbar: add_colorbar

Description Usage Arguments Value Author(s)

View source: R/method-scale-color.R

Description

add colorbar legend

Usage

1
add_colorbar(p, color, x = NULL, ymin = NULL, ymax = NULL, font.size = 4)

Arguments

p

tree view

color

output of scale_color function

x

x position

ymin

ymin

ymax

ymax

font.size

font size

Value

ggplot2 object

Author(s)

Guangchuang Yu


ggtree documentation built on Nov. 15, 2020, 2:09 a.m.