clade.anno: clade.anno

Description Usage Arguments Value Author(s)

View source: R/visualizer.R

Description

annotate a ggtree plot to highlight certain clades

Usage

1
2
3
4
5
6
7
8
clade.anno(
  gtree,
  anno.data,
  alpha = 0.2,
  anno.depth = 3,
  anno.x = 10,
  anno.y = 40
)

Arguments

gtree

a ggtree object

anno.data

a 2 column data.frame of annotation information. It has columns of clade name and color used for highlighting.

alpha

alpha parameter for shading

anno.depth

more specific clades will be shown on the side

anno.x

x position of annotations

anno.y

y position of annotations

Value

a ggtree object

Author(s)

Chenhao Li, Guangchuang Yu, Chenghao Zhu


lch14forever/microbiomeViz documentation built on Sept. 7, 2020, 4:34 p.m.