[R] dendrogram

Sean Davis sdavis2 at mail.nih.gov
Wed Jan 4 13:34:34 CET 2006

On 1/4/06 6:48 AM, "Sean Davis" <sdavis2 at mail.nih.gov> wrote:

> On 1/4/06 6:03 AM, "Zhesi He" <hezhesi at gmail.com> wrote:
>> Dear list,
>> Sorry if my question is too easy.
>> I now have a class list like
>> ...
>> 9.09.09
>> I have no problem transferring it to a matrix without those zeros. But
>> I really want to have a dengrogram class object so that I can have a
>> hierarchical plot.
> You didn't really explain what kind of clustering you want to do.  However,
> you probably want to do help.search('cluster').  That will give you many
> methods for clustering.  Most of them work with either a matrix or a
> distance object.  See ?dist for help with the latter.

You could probably try creating your own dendrogram object from scratch.
See help(dendrogram) for what might be involved.  However, if you are
looking to browse your list and you have a webserver available, you might
consider using DHTML to create a nice collapsible list like those shown


Doing a google search for hierarchical list javascript might get you what
you need.


More information about the R-help mailing list