[R] Advice on exploration of sub-clusters in hierarchical dendrogram

2012-02-23 Thread kosmo7
Dear R user, I am a biochemist/bioinformatician, at the moment working on protein clusterings by conformation similarity. I only started seriously working with R about a couple of months ago. I have been able so far to read my way through tutorials and set-up my hierarchical clusterings. My probl

Re: [R] Advice on exploration of sub-clusters in hierarchical dendrogram

2012-02-23 Thread kosmo7
Dear Elai, thank you very much for your suggestion. I tried cutting the dendrogram instead of the hclust tree with: clusters<-cut(x, h=1.6) but then when I try to call/plot cluster 1 for example, with: plot(clusters$lower[[1]]) I get only 2 members that are joined together at distance=0 (cluster

Re: [R] Advice on exploration of sub-clusters in hierarchical dendrogram

2012-02-24 Thread kosmo7
Ok, I was able to work it out finally. As I have been aided myself numerous times from posted questions by other users who have reached in the end a solution to their problem, I will put the code that worked for me for future googlers - it is certainly not optimal but it works: # Initial clusterin