pvclust is pretty sweet!
I have microarray data and I want to identify groups of genes that have same expression patterns across my samples. I've done average linkage hierarchical clustering in R. How can I detect which cut-off would be best for dendrogram so I have significant clusters? The height (combination similarity) of my dendrogram goes from 0 to about 2.5 with almost all clusters of genes between the height of 0 and 0.5. How important is it to have a cut-off?
Many thanks.
2 answers
It is slighly different approach, but is useful to do bootstrap to see stablitity of the clusters. You can use R package Pvclust.
library (pvclust)
result < - pvclust(data, nboot=10000)
plot(results)
This is a very hard decision to make. First, you can plot the within group sum of squares along the number of clusters to find the optimum number then cut the tree (dendrogram) accordingly. Then, there are very sophisticated dynamic tree cutting approaches being developed, for example: http://www.genetics.ucla.edu/labs/horvath/CoexpressionNetwork/BranchCutting/ These methods are more involved so you may need to read more about them.
Log in to answer this question.
watch here : http://biostar.stackexchange.com/questions/699/