Learn R Programming

ggtree (version 1.2.1)

add_legend: add_legend

Description

add evolution distance legend

Usage

add_legend(p, width = NULL, x = NULL, y = NULL, offset = NULL, font.size = 4, ...)

Arguments

p
tree view
width
width of legend
x
x position
y
y position
offset
offset of text and line
font.size
font size
...
additional parameter

Value

tree view