geom_segment2: geom_segment2

Description Usage Arguments Value Author(s) See Also

View source: R/geom_segment.R

Description

geom_segment2 support aes(subset) via setup_data

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
geom_segment2(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  lineend = "butt",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  nudge_x = 0,
  arrow = NULL,
  arrow.fill = NULL,
  ...
)

Arguments

mapping

aes mapping

data

data

stat

Name of stat to modify data

position

position

lineend

lineend

na.rm

logical

show.legend

logical

inherit.aes

logical

nudge_x

horizontal adjustment of x

arrow

specification for arrow heads, as created by arrow().

arrow.fill

fill color to usse for the arrow head (if closed). NULL means use colour aesthetic.

...

additional parameter

Value

add segment layer

Author(s)

Guangchuang Yu

See Also

geom_segment


ggtree documentation built on Nov. 15, 2020, 2:09 a.m.