Displaying 20 results from an estimated 8000 matches similar to: "cluster analyses"
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
2013 Dec 07
1
How to perform clustering without removing rows where NA is present in R
I have a data which contain some NA value in their elements.
What I want to do is to **perform clustering without removing rows**
where the NA is present.
I understand that `gower` distance measure in `daisy` allow such situation.
But why my code below doesn't work?
__BEGIN__
# plot heat map with dendogram together.
library("gplots")
library("cluster")
2013 Apr 23
1
assigning cluster id in cluster package-reg.
Well, you don't give much of an example....
I'm replying CC to the R mailing list. Please ask questions there, rather
than adressing individuals for basic help.
Here is one; does it answer your question ?
data(agriculture)
ag.ag <- agnes(agriculture)
class(ag.ag)
pltree(ag.ag) # the dendrogram, if you want to see it
## cut the dendrogram -> get cluster assignments:
(ck3 <-
2010 Aug 09
1
Need help on heatmap, K-means and hhierarchical clustering methods
Hi folks,
I am new to the R software. I have been going through different materials to
know more about R.
I have the R software installed on my windows machine.I would like to know
the R source code for the following problems on iris flower data set.
I need to do the cluster analysis project with the iris data set. The goal
is to cluster the flowers
according to their Sepal.Length, Sepal.Width,
2006 Dec 05
1
cluster package
Hi list,
I am doing cluster analysis using the cluster package. I created a dendrogram using the function plot(agnes(myData)). When I try to change the sise of labels, it does not work. I tried cex = 1.5, etc. Nothing worked. Can anyone give me a hint on how to change the sise of the labels, as well as the sise of axes labels.
Thanks
Mahdi
--
-----------------------------------
Mahdi Osman
2005 Nov 02
1
x/y coordinates of dendrogram branches
Dear R-users,
I need some help concerning the plotting of dendrograms for hierarchical
agglomerative clustering.
The agglomeration niveau of each step should be displayed at the
branches of the dendrogram.
For this I need the x/y coordinates of the branch-agglomerations of the
dendrogram.
The y-values are known (the heights of the agglomeration), but how can I
get the x-values?
> mydata
2002 May 14
0
RE: cut.dendrogram (PR#1552)
I'm resending this bug report with a new example. As seen below,
cut.dendrogram gives an error message for some heights, but not for others
and with some datasets adn not others. I can't see why.
Last time I unwittingly sent my message with HTML formatting. This time I'm
travelling and using an e-mail system that I am unfamiliar with. As far as
I can see, I am not using HTML.
2004 Jun 17
1
Re: Clustering in R
Thanks a lot, Michael!
I cc to R-help, where this question really belongs {as the
'Subject' suggests itself...} -- please drop 'bioconductor' from
CC'ing further replies.
>>>>> "michael" == michael watson (IAH-C) <michael.watson at bbsrc.ac.uk>
>>>>> on Thu, 17 Jun 2004 09:16:59 +0100 writes:
michael> OK, admittedly it
2006 Jan 17
1
Clustering function
Dear mailing group,
I have loaded an Excel file into R by calling it ".csv" and using the
"read.csv" function in R. However then I want to use the (limma package
specific, I believe) function "hclust", which clusters data in a tree
dendrogram, by similarity. However, I receive the errors msg.s: 1) "missing
observations in cov/cor" 2) "In
2013 Jan 16
1
dendrogram stops!
Dear I am using the 'as.dendrogram' function from the 'stats' library to convert from an hclust object to a dendrogram with a dataset of size
~30000 (an example code is below). I need the dendrogram structure to
use the "dendrapply" and "attributes" functions and to access the child
nodes, I do not need any of the plot properties.
The problem is that it
2008 Jun 02
1
Plotting horizontal dendrograms
I am using hclust and plot to produce dendrograms. Using my input data I am
able to complete an analysis and obtain a vertical plot.
I want to be able to plot the dendrogram horizontally.I am using version 2.6
of R and have updated my packages recently.
Using the sample script for dendrograms I can produce a horizontal plot
using the instruction horiz = TRUE in plot().
When I use the same
2006 Feb 28
1
creating dendrogram from cluster hierarchy
Dear R users,
I have created data for hierarchical agglomerative cluster analysis
which consist of the merging pairs and the agglomeration heights, e.g.
something like
my.merge <- matrix(c(-1,-2,-3,1), ncol=2, byrow=TRUE)
my.height <- c(0.5, 1)
I'd like to plot a corresponding dendrogram but I don't know how to
convert my data to achieve this.
Is it possible to create a
2010 Jun 17
1
plotting radial dendrograms
Dear list,
I am trying to plot a radial dendrogram using the ape package, which
requires my data to be of class 'phylo'. Currently I have my
dendrogram stored as an object of class 'dendrogram' which was
produced from an outside bit of C code, but was made into an object of
class 'igraph.eigenc' and converted to a dendrogram using
'as.dendrogram()' from the igraph
2011 Sep 13
2
help with hclust and cutree
Hello,
I would like to cut a hclust tree into several groups at a specific
similarity. I assume this can be achieved by specifying the "h" argument
with the specified similarity, e.g.:
clust<-hclust(dist,"average")
cut<-cutree(clust,h=0.65)
Now, I would like to draw rectangles around the branches of the
dendrogram highlighting the corresponding clusters, as is done by
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
2010 May 25
1
Hierarchical clustering using own distance matrices
Hey Everyone!
I wanted to carry out Hierarchical clustering using distance matrices i have
calculated ( instead of euclidean distance etc.)
I understand as.dist is the function for this, but the distances in the
dendrogram i got by using the following script(1) were not the distances
defined in my distance matrices.
script:
var<-read.table("the distance matrix i calculated",
2001 Aug 27
4
plotting dendrograms from cluster analyses
Hi all,
I have a bit of a newbie question here that I hope y'all can help with. I've
run a cluster analysis using hclust on about 500 objects (using R1.3 under
Win 2000). The problem is that the tips of the dendrogram are so close
together on the plot that the labels overlap and are unreadable. I've used
"cex" to reduce the label sizes but this isn't sufficient with so
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
2016 Apr 21
1
"cophenetic" function for objects of class "dendrogram"
Note that cophenetic.default (which works on the output of hclust(dist(X)))
uses the
row names of X as labels. as.dendrogram.hclust does not retain those row
names
so cophenetic.dendrogram cannot use them (so it orders them based on the
topology of the dendrogram).
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Apr 21, 2016 at 7:59 AM, William Dunlap <wdunlap at tibco.com> wrote:
2008 Mar 20
2
How to plot the dendrogram or tree for kmeans ?
Hi,
How to plot the dendrogram or tree for kmeans, like we do for hclust ?
[[alternative HTML version deleted]]