set_hilight_legend {ggtree}R Documentation

set_hilight_legend

Description

set legend for multiple geom_hilight layers

Usage

set_hilight_legend(p, color, label, alpha = 1)

Arguments

p

ggtree object

color

color vector

label

label vector

alpha

transparency of color

Value

updated ggtree object

Author(s)

Guangchuang Yu


[Package ggtree version 1.16.4 Index]