Displaying 20 results from an estimated 2000 matches similar to: "Hclust question"
2005 May 31
1
Loading matrices and other things
Hi all,
I'm new to R, so needless to say I have a couple questions (which I hope
I haven't missed through the documentation).
I have several files in lower triangular matrix form. For each of these
matrices, I want to perform some form of hierarchical clustering on each
matrix and capture the output of the clustering.
The first problem I run into is actually loading the matrix file
2003 Aug 01
1
samba 3.0 beta3 ldapsam bug ?!?!
Thanks for your help in adance !!!
I work with SAMBA HEAD since alpha24. I have running a BDC, PDC, Printserver on 3
separate pc's. In my domain is integrated a nativ w2k Fileserver ( Dell Nas PowerVault
725 ) for fileserving. Passwords are held in LDAP on every (Linux) machine pam-ldap
works. Every thing was fine before the last update to BETA 3.
Problem :
I was updating from BETA 2 to
2013 Aug 30
1
libvirt-qemu/kvm passthru w/Intel 82598EB
Hi,
I am trying to configure two identical systems with the following setup.
dom0: Centos 6 OS on Apple Xserve i7 server with PCI cards for 4GB FC
(LSI FC949ES) and 10GB Ethernet (Intel 82598EB)
dom1: Centos 5 OS with passthru mode of PCI 4GB FC and 10GB Ethernet
(ixgbe and mptfc blacklisted in dom0)
Everything starts ok, but networking in dom1 using the 10GB interface
has extremely high rtt
2005 Mar 03
2
Putting different colors on labels in plot (hclust)
Hi All R-helpers
This is my first (but probartly not last ;-) mail to R-help, so hello to everybody.
My problem: Is there a way to give colors to the labels (sample labels) in plots for a hclust object for better visualization?
I have looked through plot, points, hclust and more but cannot find anything on label color. Anybody know if this is doable?
Best regards Jeppe
2001 Feb 23
4
hclust question
Dear all,
I have a question with regard to the use of hclust. I would like to be
able to specify my own distance matrix instead of asking R to compute
the distance matrix for me. It is computationally easier for me this
way. My question is: How can I get hclust to accept this?
Thanks,
Ranjan
--
***************************************************************************
Ranjan
2002 Feb 20
1
plot.hclust: strange behaviour with "manufactured" hclust object
I've been trying to get plot.hclust to work with a hclust object I
created and have not had much success. It seems that there is some
"hidden" characteristic of a hclust object that I can't see. This is
most easily seen in the following example, where plot.hclust works on
one object, but when this object is "dumped" and then re-read,
plot.hclust no longer works. Is
2010 Dec 27
1
Any functions to manipulate (merge, cut, remove) hclust objects? (maybe through phylo?)
Hello all,
I'm now working with hclust objects and was hoping to perform some basic
editing on them like:
- Joining = the merging of two hclust objects (so they will share one
root)
- Splicing = So to cut/extract a branch out of an hclust object - that by
itself will be an hclust object.
I noticed I could extract one element of an hclust object by turning it into
a dendrogram,
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
2009 Nov 16
3
Cluster analysis: hclust manipulation possible?
I am doing cluster analysis [hclust(Dist, method="average")] on
data that potentially contains redundant objects. As expected,
the inclusion of redundant objects affects the clustering result,
i.e., the data a1, = a2, = a3, b, c, d, e1, = e2 is likely to
cluster differently from the same data without the redundancy,
i.e., a1, b, c, d, e1. This is apparent when the outcome is
visualized
2004 Dec 15
1
hclust and heatmap - slightly different dendrograms?
Good afternoon,
I ran heatmap and hclust on the same matrix x (strictly, I ran
heatmap(x), and hclust(dist(t(x))), and realized that the two
dendrograms were slightly different, in that the left-right
arrangement of one pair of subclusters (columns) was reversed in the
two functions (but all individual columns were grouped correctly).
Looking through the code for heatmap as a most definite
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
2012 Mar 29
2
hclust and plot functions work, cutree does not
Hi,
I have the distance matrix computed and I feed it to hclust function. The
plot function produces a dense dendrogram as well. But, the cutree function
applied does not produce the desired list.
Here is the code
x=data.frame(similarity_matrix)
colnames(x) = c(source_tags_vec)
rownames(x) = c(source_tags_vec)
clust_tree=hclust(as.dist(x),method="complete")
plot(clust_tree)
2004 May 19
7
Help with hclust() and plot()
Hi
When I use plot(hclust(dist..)...)...) etc to create a dendrogram of a
hierarchial cluster analysis, I end up with a vertical tree. What do I
need to do to get a horizontal tree?
Also, my users are used to seeing trees who's leaves all "end" at the
same place (eg. Like in minitab). Is this possible in R?
Thanks
Mick
Michael Watson
Head of Informatics
Institute for Animal
2017 Mar 23
1
A question on stats::as.hclust.dendrogram
Hi all,
This is the first time I'm writing to R-devel, and this time I'm just asking for the purpose for a certain line of code in stats::as.hclust.dendrogram, which comes up as I'm trying to fix dendextend.
The line in question is at line 128 of dendrogram.R in R-3.3.3, at stats::as.hclust.dendrogram:
stopifnot(length(s) == 2L, all( vapply(s, is.integer, NA) ))
Is there any
2003 Sep 30
2
dump/source problem with hclust object (PR#4361)
library(mva)
data(USArrests)
hc <- hclust(dist(USArrests), "ave")
plot(hc) # OK
dump(c("hc"), "tst")
rm(hc)
source("tst")
plot(hc) # Error in plot.hclust(hc) : invalid dendrogram input
The same problem occurs with dput/dget
--please do not edit the information below--
Version:
platform =
2008 May 16
2
heatmap on pre-established hclust output?
Hi,
Can someone please guide me towards how to produce "heatmap" output from the
output of "hclust" run prior to the actual "heatmap" call? I have some
rather lengthy clustering going on and tweeking the visual output
with "heatmap" recalculating the clustering every time is not feasible.
Thanks, Joh
2005 Jan 25
2
Plotting hclust with lot of objects
Hi!
I am newbee to R and I am facing the problem in plotting
the dedrogram with lot of objects. The lines and labels are overlapped very
badly, and writing the graphic to postscript and zooming there is not helping
either. I tried cut.dendrogram method, but getting the error that it doesn't
exist even though I get the man pages for it.
I would not find any solution in web as well, and I
2016 Apr 08
3
Generating Hotelling's T squared statistic with hclust
I am doing a cluster analysis with hclust. I want to get hclust to output the Hotelling's T squared statistic for each cluster so I can evaluate is data points should be in a cluster or not. My research to answer this question has been unsuccessful. Does anyone know how to get hclust to output the Hotelling's T squared statistic for each cluster?
Mike
[[alternative HTML version
2012 May 11
1
How to re-order clusters of hclust output?
Hello,
The heatmap function conveniently has a "reorder.dendrogram" function
so that clusters follow a certain logic.
It seems that the hclust function doesn't have such feature. I can use
the "reorder" function on the dendrogram obtained from hclust, but
this does not modify the hclust object itself.
I understand that the answer should be within the "heatmap"
2004 Jul 01
1
Customizing Cluster Analysis plots created with hclust
I am trying to cluster stock prices through time using hclust. To help with the interpretation of the output I would like to change the colour of the lines and the labels based on which sector a stock is in.
Is it possible to customize a plot of the output of hclust in this way?
Any help much appreciated
Regards,
> Tom Joy
>
[[alternative HTML version deleted]]