Displaying 20 results from an estimated 9000 matches similar to: "change labels in a dendrogram"
2007 Jul 23
1
change text labels on a dendrogram
Hi all:
I already made a dendrogram, I want to change the labels; In my data set
there is one column with text that I want to set as the labels, any one can
tellme how can I do it?
Thanks,
Ana Marcela
[[alternative HTML version deleted]]
2007 Jul 23
0
text labels on a dendrogram
Hi
I've made a dendogram but I cannot label with text that I have on one of the
columns of the data,
anyone can help me
thanks
Ana
[[alternative HTML version deleted]]
2011 Dec 12
1
how to colour labels (each label with a colour) in a dendrogram?
Hello to all,
I still have this doubt.
I'd like to colour the different labels of my dendrogram each one with a
different colour. How can I do? I guess I could do using *edgetext* and
then *t.col* or* lab.col* but I don't know how to add edgetext to my
dendrogram. Can you help me please?
Example:
require(graphics); require(utils)
hc <- hclust(dist(USArrests), "ave")
(dend1
2011 Sep 26
0
horizontal labels for a dendrogram
Dear R-help list,
I'd like to create visualize the clustering of a dataset with a
dendrogram. I'm using the following script:
data = read.table("data.csv", header=T, sep=";")
require(cluster)
res = as.dendrogram(agnes(data))
chlab <- function(n) {
if(is.leaf(n)) {
att <- attributes(n)
labx <- data$category1[att$label]
lab_color <- ifelse(labx ==
2006 Jan 27
1
Justification of dendrogram labels
Hi all,
Can someone tell me how to justify (right or left) the labels on the
branches of a dendrogram tree? I have produced a dendrogram via agnes and
plotted it with pltree. The dendrogram terminal branch labels seem to be
centre-justified by default and I was hoping to change this to left
justification. Thanks,
Duncan
*****************************************
Dr. Duncan Mackay
School of
2006 Mar 09
1
Identifying or searching for labels in a hclust/dendrogram/heatmap
Hi
Sorry if this is in the help :-S
I've looked at example(dendrogram) and though it gives some indication of what I want, it doesn't do all.
OK, so here is what I want to do: draw a tree, and then have an action, on user-click, to either draw a sub tree or a plot of the data. I also want users to be able to search for a particular label and have it highlighted on the tree, say in
2010 Mar 11
2
cluster analysis labels for dendrogram
Hi,
I am clustering data based on three numeric variables. I have a fourth
variable that is categorical (site) which I would like to use to label the
leaves of my dendrogram, so I can see how the different sites are grouped
throughout the tree, but I do NOT want to use this variable in the cluster
analysis itself. Is there any way I can do this?
Thanks,
Samantha
--
View this message in
2011 Jan 25
1
dendrogram plot does not draw long labels ?
Hello,
It seems that the plot function for dendrograms does not draw labels when
they are too long.
> hc <- hclust(dist(USArrests), "ave")
> dend1 <- as.dendrogram(hc)
> dend2 <- cut(dend1, h=70)
> dd <- dend2$lower[[1]]
> plot(dd) # first label is drawn
> attr(dd[[1]], "label") <- "aaaaaaaaaaaaaaaaaa"
> plot(dd) # first label is
2013 Apr 04
1
node stack overflow when extracting labels from a dendrogram
It looks like R 3.0.0 has the same limitation as the 2.x series. When extracting labels from about 30000 node dendrogram (x=labels(h)) R throws an error:
Error in match.fun(FUN) : node stack overflow
Is there a way around it?
Thanks,
Alex
2005 Mar 18
0
Changing label size in plot.dendrogram
Dear R friends,
I have constructed an object of class 'dendrogram'
using an own function, and I'm using the R function
plot.dendrogram for visualizing it.
It works fine, but I could not find out how to change
the font size of edge and leaf labels.
?plot.dendrogram has shown me that the coloring of the
edge labels can be changed using plot(my.dendrogram,
2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
Core developers,
I couldn't find any simple way to send a vector of colors to apply to each
terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it a
few weeks ago and didn't get any response---so I hacked that functionality
into the plot.dendrgram code (see below for hacked function plus
examples)....
Is there any chance this functionality could be added to the
2008 Nov 17
1
using an image as a dendrogram label
Hi, does anybody know if it is possible to use an image (rather than
text) to label the leaves of a dendrogram? I realize that this will
not always lead to a useful on-screen display, but ideally I'd like
to directly go from the dendrogram to a PDF and on-screen viewing is
not to too important for me. Also, my trees are relatively small.
Any pointers would be apreciated
2002 Mar 05
1
no labels when plotting dendrograms
I'd like to be able to cut dendrograms at a height I specify
and then plot the resulting subtrees. I wanted to use the
dendrogram object for this purpose because there doesn't seem
to be a canned way to cut a hclust object and get a list of
hclust objects, but there is a function (cut) that does that
for dendrograms. The problem I'm having is that when I plot
a dendrogram, I
2008 Nov 21
2
Dendrogram labels
Is there any way to change the orientation of the labels on the end of the dendrograms to horizontal rather than vertical? If so, how can I do that.
_____________________________________________
Patrick Richardson
Biostatistician - Program of Translational Medicine
Van Andel Research Institute - Webb Lab
333 Bostwick Avenue NE
Grand Rapids, MI 49503
ph. 616.234.5787
This email message,
2013 Mar 07
1
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
2012 Aug 12
0
Different cluster orderings from cutree() and cut.dendrogram()
Hi!
I just discovered that cutree() and cut.dendrogram() do not assign the
same cluster numberings when called on the same tree. More specifically,
cutree() assigns cluster numbers by order of appearance in the data,
while cut.dendrogram() sorts clusters by height (see example below). I
guess this is for historical reasons?
I'm hit by this difference when I want to get a vector of cluster
2012 Oct 24
0
recursive function on a structured list of lists (dendrogram)
Dear all,
I have been trying the following without avail and would be very grateful for any help. From a dendrogram (recursive list of lists with some structure), I would like to obtain some information of the component lists and of the enclosing list at the same time. In dendrogram-speech I basically would like the label of the leaf and the height of the enclosing branch.
A dendrogram example
2002 May 15
0
RE: cut.dendrogram (PR#1552)
>>>>> "MM" == Martin Maechler <maechler@stat.math.ethz.ch> writes:
>>>>> "MikG" == M GRUM <M.GRUM@CGIAR.ORG> writes:
MikG> I'm resending this bug report with a new example. As
MikG> seen below, cut.dendrogram gives an error message for
MikG> some heights, but not for others and with some
MikG> datasets
2008 May 06
1
Dendrogram label size
Is it possible to resize the labels in a dendrogram without applying
circles and triangles to edges?
I tried cex.labels:
plot(scoreDendogramObj, horiz=TRUE, axes=FALSE, cex.labels=0.8)
but that didn't have any effect.
Thanks,
Alex
2012 Jun 28
0
neatmap - draw.dendrogram - help!
Hi all,
I'm having a problem where by I'm trying to use the NeatMap draw.dendrogram
function as it is more versatile in placement/direction of dendrograms,
instead of the limited plot function.
Using plot I can get my dendrograms to display the species name for each
leaf of the tree. But I cannot figure out how to make this happen using
draw.dendrogram..
genetic<-