Hello Sunny,
Defining groups at a given height can be done with the cut function
(see ?cut.dendrogram).
Unfortunately, cut doesn't give you the option of specifying a number
of clusters rather than a height in the way that cutree does for
hclust objects. Perhaps someone else here knows of a
Thanks Michael for your help. At least its good to know that there is no
function which does what I wanted. I will definitely try to code something
that fulfills my requirements.
Regards,
S.
On Fri, Sep 17, 2010 at 2:32 AM, Michael Bedward
michael.bedw...@gmail.comwrote:
Hello Sunny,
Cool. If you get some code working and don't mind sharing it please
post it here.
Michael
On 17 September 2010 16:49, Sunny Srivastava research.b...@gmail.com wrote:
Thanks Michael for your help. At least its good to know that there is no
function which does what I wanted. I will definitely
Hello R-Helpers,
I have a question about extracting the clusters of genes after we make the
heatmap (say ht4) using the heatmap.2 function. Basically, I want to get the
clusters which are shown as row dendrogram in the heatmap.
I understand that ht4$rowDendrogram is an object of dendrogram and it
4 matches
Mail list logo