Dear All 

We are using the dendextend package to modify the plot output from a pvclust 
clustering 

The model is created with 

result <- pvclust(chord.1, method.dist="euclidian", 
method.hclust="average",nboot=100000)

The plot is then formatted as following 

dend <- as.dendrogram(result)
dend %>%
pvclust_show_signif(result, signif_type = c("au"),alpha=0.05, signif_value = 
c(4, 1)) %>% set("labels_cex", c(1.5)) %>% set("labels_col", sp_col) %>% 
plot(horiz=TRUE, sub="", xlab="", ylab="",xlim=c(0.31, -0.17), ylim= c(3.5,93))

We are using the pvclust_show_signif function to set the line weight to '4' of 
pvclust branches with an alpha of less than 0.05. Is it possible to set 
multiple line weights for different alpha values e.g. lwd = 8 when alpha = 0.05 
and lwd = 4 when alpha = 0.1?

Best wishes
Tom 

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to