similar to: text labels on a dendrogram

Displaying 20 results from an estimated 30000 matches similar to: "text labels on 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
change labels in 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]]
2006 Feb 22
0
ylim in dendrogram plot ... error
I'm trying to plot a dendrogram object which is created using "as.dendogram" function. It works fine however I can not change the yaxis limits of the plot. tree<-as.dendrogram(hclust(as.dist(dissim),method="single")) plot(tree,ylim=range(0,20)) Error in plot.default(0, xlim = xlim, ylim = ylim, type = "n", xlab = xlab, : formal
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
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 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
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 Dec 04
1
How do I get internal nodes of dendograms produced by R?
I am using R for hierarchical clustering of a number of documents. I have a distance matrix on which I have applied hclust method. When I plot the result of hclust method, I can see the dendogram plotted. What I need now is the dendogram stored as a tree in a data structure. My goal is to automatically label all internal nodes. For that, I need to know, which leaf nodes make a first level
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
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,
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
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 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
2009 Apr 07
2
heatmap.2 no reordering of the columns and rows
Hi,   I need to generate a heatmap on a square matrix and wouldn't want to reorder the columns and the rows on the heatmap display.    I have used the options Rowv=NULL and Colv=NULL but doesn't seem to work. Following is a snippet of the heatmap function i am using. args <- commandArgs(); inputfile <- args[2] imgfile   <- args[3] bitmap(imgfile, height=15, width=15, res=100,
2002 Dec 17
0
Coloured label, terminal branch and bars in dendograms
Dear R-help, I have performed a hierarchical clustering on some data that I have and would like to know some nice ways of visualizing it. I have 2 related questions: i) How to color the labels AND the terminal branch of a dendogram? This is my inelegant way of just getting the colored labels. data(iris) # Formatting data into required format ir <- iris[ ,-5] ir.class <- c(
2007 Mar 09
1
dendrogram - got it , just need to label :)
Hi all, Hi Gavin, thx for your help i finally found out what i want to do and how to fix it. just needed to get some more level my cut level was too small... two question remain... a) can i somehow scale the twigs after cutting ? b) how can i label the nodes and how to label which one... thx !! -m.
2009 Jul 24
2
Stting non-overlaping text positions
Dear List I am having problems to set text labels in a scatter plot. At some areas dots are close and labels overlap and texts cannot be read. I have too many dots to adjust this manually. Is there any function that will calculate the label offsets to avoid this overlapping problem? Thanks Ana -- Ana Conesa Bioinformatics and Genomics Department Centro de Investigaciones Principe Felipe
2012 May 29
1
community finding in a graph and heatplot
Hi everyone, I am using the fastgreedy.community function to get the $merges matrix and the $modularity vector. This serves my purpose of testing modularity of my graph. But I am "greedy" to plot the heat map and dendrrogram based on the $merges dendogram matrix. I know that heatplot does the graphics part but I am not sure if the dendogram generated by the heatplot will match the one
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