Visualize hierarchical clustering with various tree layouts.
Arguments
- x
A
stat_hclustobject- type
Character. Type of plot:
"unrooted": Unrooted phylogram (default, requires ape)"dendrogram": Classic dendrogram"fan": Fan/circular tree (requires ape)"phylogram": Rectangular phylogram (requires ape)
- color
Column name (bare or quoted) for coloring tips. If NULL and tree was cut, colors by cluster assignment.
- tip_labels
Logical. Show tip labels? Default TRUE for small trees (<50 tips).
- ...
Additional arguments passed to plotting functions
Details
Most plot types require the ape package. If not installed, falls back to
base dendrogram plot.
