geom_hilight_encircle {ggtree}R Documentation

geom_hilight_encircle

Description

layer of hilight clade with xspline

Usage

geom_hilight_encircle(
  data = NULL,
  node,
  mapping = NULL,
  fill = "steelblue",
  alpha = 0.5,
  extend = 0,
  ...
)

Arguments

data

data frame to calculate xspline (default = NULL)

node

selected node to hilight (required)

mapping

aesthetic mapping (default = NULL)

fill

colour fill (default = steelblue)

alpha

alpha (transparency) (default = 0.5)

extend

expands the xspline clade region only (default = 0)

...

addtional parameters, including: 'spread' spread of shape? (default = 0.1), 'linetype' Line type of xspline (default = 1), 'size' Size of xspline line (default = 1), 's_shape' Corresponds to shape of xspline (default = 0.5), 's_open' Boolean switch determines if xspline shape is open or closed. (default = FALSE)

Value

ggplot2


[Package ggtree version 2.0.4 Index]