subview {ggtree}R Documentation

subview

Description

add subview to mainview for ggplot2 objects

Usage

subview(mainview, subview, x, y, width = 0.1, height = 0.1)

Arguments

mainview

main view

subview

a ggplot or grob object

x

x position

y

y position

width

width of subview

height

height of subview

Value

ggplot object

Author(s)

Guangchuang Yu


[Package ggtree version 2.2.4 Index]