inset: inset

Description Usage Arguments Value Author(s)

View source: R/inset.R

Description

add insets in a tree

Usage

1
2
inset(tree_view, insets, width = 0.1, height = 0.1, hjust = 0,
  vjust = 0, x = "node", reverse_x = FALSE, reverse_y = FALSE)

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'

reverse_x

whether x axis was reversed by scale_x_reverse

reverse_y

whether y axis was reversed by scale_y_reverse

Value

tree view with insets

Author(s)

Guangchuang Yu


ggtree documentation built on May 31, 2017, 3:01 p.m.

Search within the ggtree package
Search all R packages, documentation and source code