YuLab-SMU / treeio

:seedling: Base Classes and Functions for Phylogenetic Tree Input and Output
https://yulab-smu.top/treedata-book/
94 stars 24 forks source link

reexport as.phylo.hclust_node #110

Closed xiangpin closed 1 year ago

xiangpin commented 1 year ago

Description

This pr was to fix the as.treedata.pvclust issue in ggtreeDendro.

Related Issue

Example

library(ggtreeDendro)
library(pvclust)
data(Boston, package = "MASS")

set.seed(123)
result <- pvclust(Boston, method.dist="cor", method.hclust="average", nboot=1000, parallel=TRUE)
autoplot(result, label_edge=TRUE, pvrect = TRUE) + geom_tiplab()

image