Learn R Programming

ggtree (version 1.4.11)

geom_segment2: geom_segment2

Description

geom_segment2 support aes(subset) via setup_data

Usage

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

Arguments

mapping
aes mapping
data
data
position
position
arrow
arrow
lineend
lineend
na.rm
logical
show.legend
logical
inherit.aes
logical
...
additional parameter

Value

add segment layer

See Also

geom_segment