Learn R Programming

ggtree (version 1.4.11)

inset: inset

Description

add insets in a tree

Usage

inset(tree_view, insets, width = 0.05, height = 0.05, hjust = 0, vjust = 0, x = "node")

Arguments

tree_view
tree view
insets
a list of ggplot objects, named by node number
width
width of inset
height
height of inset
hjust
horizontal adjustment
vjust
vertical adjustment
x
x position, one of 'node' and 'branch'

Value

tree view with insets