geom_range: geom_range

View source: R/geom_range.R

geom_rangeR Documentation

geom_range

Description

horizontal bar of range (HPD, range etc) on nodes to present uncertainty of evolutionary inference

Usage

geom_range(range, center = "auto", ...)

Arguments

range

range(interval) to be displayed, e.g. "height_0.95_HPD"

center

center of the range, mean, median or auto (default, the center of the range)

...

additional parameter, e.g. color, linewidth, alpha

Value

ggplot layer

Author(s)

Guangchuang Yu

References

For demonstration of this function, please refer to chapter 5.2.4 of Data Integration, Manipulation and Visualization of Phylogenetic Trees http://yulab-smu.top/treedata-book/index.html by Guangchuang Yu.


YuLab-SMU/ggtree documentation built on April 15, 2024, 5:19 p.m.