You can print out the nodes and their corresponding clusters into a file by
this:
> write.table (hc,file="hc_40clusters.cvs", quote=FALSE, sep=" ")
--
View this message in context:
http://r.789695.n4.nabble.com/hierarchical-clustering-within-a-size-limit-tp3515354p4080551.html
Sent from the R
Hi Peter,
Thanks for your help. A second simple question that I cannot solve is the
following.
labels = cutree(hc, h=500)
# members of cluster 1:
x[labels==1]
# members of cluster 2:
x[labels==2]
When x is >= 8 the index numbers appear in the output:
[['[1]', '180066408', '180066464', '18006646
On Wed, May 11, 2011 at 10:12 AM, rna seq wrote:
> Hello List,
>
> I am trying to implement a hierarchical cluster using the hclust method
> agglomerative single linkage method with a small wrinkle. I would like to
> cluster a set of numbers on a number line only if they are within a distance
> of
Hello List,
I am trying to implement a hierarchical cluster using the hclust method
agglomerative single linkage method with a small wrinkle. I would like to
cluster a set of numbers on a number line only if they are within a distance
of 500. I would then like to print out the members of this list
4 matches
Mail list logo