Displaying 19 results from an estimated 19 matches similar to: "plot.dendrogram and expressions"
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
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
2005 Jul 11
1
indexing into and modifying dendrograms
I would like to be able to exert certain types of control over the
plotting of dendrograms (representing hierarchical clusterings) that I
think is best achieved by modifying the dendrogram object
prior to plotting. I am using the "dendrogram" class and associated
methods.
Define the cluster number of each cluster formed as the corresponding
row of the merge object. So, if you are
2009 Jan 16
2
Winsorizing Multiple Variables
Hi All,
I want to take a matrix (or data frame) and winsorize each variable.
So I can, for example, correlate the winsorized variables.
The code below will winsorize a single vector, but when applied to
several vectors, each ends up sorted independently in ascending order
so that a given observation is no longer on the same row for each
vector.
So I need to winsorize the variable but
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 Dec 09
1
how to add an edgetext to a dendrogram?
Hello to all,
I'd like to colour the different labels of my dendrogram. How can I do? I
guess I could to 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")
plot(dend1)
labels (USArrests) [[1]] # to know how many cities
2007 Nov 25
2
accessing the "address" of items in a recursive list
Dear useRs,
I am working on a project involving the clustering of a large dataset. I need to extract specific sub-clusters from the parent dendrogram for further analysis. The data is too large for the use of convenient tools such as identify.clust (it selects the specific group of interest on a graph), so alternatively I have saved the plot as a large image file so that it can be printed or
2008 Nov 08
0
Bug in plot.dendrogram, and how to submit patches
Hello,
Before submitting a bug report, I thought I would ask here, as
recommended in http://www.r-project.org/posting-guide.html.
Using R 2.8.0 under Mac OS X, I find that edge labels are misplaced
when doing plot.dendrogram(..., horiz=TRUE), for example
> sessionInfo()
R version 2.8.0 (2008-10-20)
i386-apple-darwin8.11.1
locale:
en_GB.UTF-8/en_GB.UTF-8/C/C/en_GB.UTF-8/en_GB.UTF-8
2007 Jun 13
2
Formatted Data File Question for Clustering -Quickie Project
I am trying to learn how to format Ascii data files for scan or read
into R.
Precisely for a quickie project, I found some code (at end of this
email) to do exactly what I need:
To cluster and graph a dendrogram from package (stats).
I am stuck on how to format a text file to run the script.
I looked at the dataset USArrests (which would be replaced by my data
and labels) using UltraEdit. That
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.
2008 Dec 22
0
R 2.8.1 is released
I've rolled up R-2.8.1.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor bugs
and platform issues.
See the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.8.1.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course.
2008 Dec 22
0
R 2.8.1 is released
I've rolled up R-2.8.1.tar.gz a short while ago.
This is a maintenance release and fixes a number of mostly minor bugs
and platform issues.
See the full list of changes below.
You can get it (in a short while) from
http://cran.r-project.org/src/base/R-2/R-2.8.1.tar.gz
or wait for it to be mirrored at a CRAN site nearer to you. Binaries
for various platforms will appear in due course.
2024 Mar 22
1
`as.data.frame.matrix()` can produce a data frame without a `names` attribute
>>>>> Davis Vaughan via R-devel
>>>>> on Thu, 21 Mar 2024 15:10:29 -0400 writes:
> Hi all,
> I recently learned that it is possible for
> `as.data.frame.matrix()` to produce a data frame with 0
> columns that is also entirely missing a `names` attribute,
> and I think this is a bug:
> ``` # No `names`, weird!
>
2009 Mar 20
12
[Bug 20780] New: nouveau corrupts and crashes on 7800gt when NoAccel= false after a few drawing operations
http://bugs.freedesktop.org/show_bug.cgi?id=20780
Summary: nouveau corrupts and crashes on 7800gt when
NoAccel=false after a few drawing operations
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2008 Apr 24
0
R crashes while running a positive checked script (PR#11264)
Full_Name: Bas Zimmerman
Version: 2.7.0 (2008-04-22)
OS: Windows 2000 Pro SP 4 Eng
Submission from: (NULL) (62.51.53.106)
Running the following line of the R-code SurvivalEnsembles.R, part of the MBoost
package results in a program crash:
'AMLrf <- cforest(I(log(time)) ~ ., data = AMLlearn, control = ctrl,
weights = AMLw)'
This package received a OK-check, see
2001 Mar 01
5
CVS, etc...
This is the first time I have gotten to the point of wanting to submit
code to (what I would consider) a major project. Specifically, I have made
a small change to oggenc/audio.c. I will explain the change if necessary,
but that us not the purpose of this post.
Primarily, I want to know how to submit changes? Mail it to someone?
Via CVS commit? If CVS, how do I get access?
Also, I
2024 Mar 21
1
`as.data.frame.matrix()` can produce a data frame without a `names` attribute
Hi all,
I recently learned that it is possible for `as.data.frame.matrix()` to
produce a data frame with 0 columns that is also entirely missing a
`names` attribute, and I think this is a bug:
```
# No `names`, weird!
attributes(as.data.frame(matrix(nrow = 0, ncol = 0)))
#> $class
#> [1] "data.frame"
#>
#> $row.names
#> integer(0)
# This is what I expected
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
AUTHORS | 17 ++++++
README | 10 +++
conf/ovirt-agent | 12 ++++
conf/ovirt-db-omatic | 12 ++++
conf/ovirt-host-browser | 12 ++++
2008 Feb 01
1
problems with link_to_remote and send_file
Hi everyone,
I working on an app that at some point generates an xls report(charts,
summary lines, etc) and sends it to the user.
If i use link_to everything works fine; however when change to
link_to_remote so i can make an ajax call it doesn;t seam to work ( i
do not get the save/open dialog box)
def exp_to_excel_2003
@filepath = "#{RAILS_ROOT}/public/files/Metrics Report.xls"