Johannes Radinger
2013-Mar-07 14:22 UTC
[R] Colour branches/labels of dendrogram according to a grouping variable
Hi, is there a way to color the branches or text label of the branches of dendrograms e.g. from hclust() according to a grouping variable. Here I have something in mind like: http://www.sigmaaldrich.com/content/dam/sigma-aldrich/life-science/biowire/biowire-fall-2010/proteome-figure-1.Par.0001.Image.gif (ectodermal, endodermal, mesodermal). /johannes
Kevin Wright
2013-Mar-07 15:46 UTC
[R] Colour branches/labels of dendrogram according to a grouping variable
Here is one example: http://gallery.r-enthusiasts.com/graph/Colored_Dendrogram_79 Kevin On Thu, Mar 7, 2013 at 8:22 AM, Johannes Radinger < johannesradinger@gmail.com> wrote:> Hi, > > is there a way to color the branches or text label of the branches of > dendrograms e.g. from hclust() according to a grouping variable. Here > I have something in mind like: > > http://www.sigmaaldrich.com/content/dam/sigma-aldrich/life-science/biowire/biowire-fall-2010/proteome-figure-1.Par.0001.Image.gif > (ectodermal, endodermal, mesodermal). > > /johannes > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Kevin Wright [[alternative HTML version deleted]]