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
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 May 16, 2019, 8:12 p.m.