geom_segment2 {ggtree}R Documentation

geom_segment2

Description

geom_segment2 support aes(subset) via setup_data

Usage

geom_segment2(mapping = NULL, data = NULL, stat = "identity",
  position = "identity", arrow = NULL, lineend = "butt", na.rm = FALSE,
  show.legend = NA, inherit.aes = TRUE, nudge_x = 0, ...)

Arguments

mapping

aes mapping

data

data

stat

Name of stat to modify data

position

position

arrow

arrow

lineend

lineend

na.rm

logical

show.legend

logical

inherit.aes

logical

nudge_x

horizontal adjustment of x

...

additional parameter

Value

add segment layer

Author(s)

Guangchuang Yu

See Also

geom_segment


[Package ggtree version 1.10.5 Index]