Clusters assemblies by shared orthogroup content and displays as a dendrogram.
Usage
plot_dendro(
pa,
distance_method = "jaccard",
cluster_method = "complete",
labels = TRUE,
hang = 0.1
)Arguments
- pa
A
pa_matrixobject.- distance_method
Character. Distance metric: "jaccard" (default), "binary", or "bray-curtis".
- cluster_method
Character. Clustering method for hclust (default: "complete"). Options: "complete", "single", "average", "ward.D2".
- labels
Logical. Whether to show assembly labels (default: TRUE).
- hang
Numeric. Fraction of plot height to hang labels below leaves (default: 0.1).