Closed xiangpin closed 3 years ago
The order of tip in original as.hclust.phylo might be incorrect.
as.hclust.phylo
> library(ape) > set.seed(123) > dd <- matrix(abs(rnorm(100)), 10) > xx <- hclust(as.dist(dd)) > tr <- as.phylo(xx) > yy <- as.hclust(tr) > library(ggplotify) > library(patchwork) > as.ggplot(~plot(xx)) + as.ggplot(~plot(tr)) + as.ggplot(~plot(yy))
Thanks a lot for the fix and the corrected typo!
The order of tip in original
as.hclust.phylo
might be incorrect.Original
This request