geom_strip: geom_strip

Description Usage Arguments Value Author(s)

View source: R/geom_strip.R

Description

annotate associated taxa (from taxa1 to taxa2, can be Monophyletic, Polyphyletic or Paraphyletc Taxa) with bar and (optional) text label

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
geom_strip(
  taxa1,
  taxa2,
  label,
  offset = 0,
  offset.text = 0,
  align = TRUE,
  barsize = 0.5,
  extend = 0,
  fontsize = 3.88,
  angle = 0,
  geom = "text",
  hjust = 0,
  color = "black",
  fill = NA,
  family = "sans",
  parse = FALSE,
  ...
)

Arguments

taxa1

taxa1

taxa2

taxa2

label

optional label

offset

offset of bar and text from the clade

offset.text

offset of text from bar

align

logical

barsize

size of bar

extend

extend bar vertically

fontsize

size of text

angle

angle of text

geom

one of 'text' or 'label'

hjust

hjust

color

color for bar and label

fill

fill label background, only work with geom='label'

family

sans by default, can be any supported font

parse

logical, whether parse label

...

additional parameter

Value

ggplot layers

Author(s)

Guangchuang Yu


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