I can make the following dendrogram plot showing significant branches using dendextend
.
pv <- pvclust(t(mtcars), nboot = 100)
pv %>%
as.dendrogram() %>%
hang.dendrogram() %>%
pvclust_show_signif(pv)%>%
plot()
Can anyone suggest how to create a similar plot in ggplot2
? I can extract segment data from a dendrogram, but I need significance (or au/bp values) from pvlust
attached to them.
I tried ggtree
and ggdendro
, but with no result.