[R] Bootstrap values for hierarchical tree based on distaance matrix

ronny ronny.rechtman at evogene.com
Tue Nov 15 14:26:24 CET 2011


I would like to get an hierarchical clustering tree with bootstrap values
indicated on the nodes, as in pvclust. The problem is that I have only
distance matrix instead of the raw data, required for pvclust. Is there a
way to get it?

fit1 <- hclust(dist) # an object of class '"dist"
plot(fit1) # dendogram without p values

library(pvclust)
fit2 <- pvclust(raw.data, method.hclust="ward",
   method.dist="euclidean")
plot(fit2) # dendogram with p values



--
View this message in context: http://r.789695.n4.nabble.com/Bootstrap-values-for-hierarchical-tree-based-on-distaance-matrix-tp4042939p4042939.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list