Displaying 20 results from an estimated 4000 matches similar to: "Heatmap: draw horizontal line"
2008 May 14
4
Heatmap.2 - eliminate cluster and dendrogram
Using the heatmap.2 function, I am trying to generate a heatmap of a
2 column x 500 row matrix of numeric values. I would like the 1st
column of the matrix sorted from the highest to the lowest values -
so that the colors reflected in the first column of the heatmap (top
to bottom) go from red to green.
After sorting the matrix (z), I tried the following command, but the
data remains
2011 Aug 08
1
heatmap is producing unwanted horizontal and vertical lines?
Hello,
I must start by saying that I am an R novice and am sorry if this is a no-brainer...
I have an csv file that contains a grid of 300x300 data points. Each point represents
a 1Km square on a map. Each point is either a floating point number or NA. I load the
data in with:
data <- read.csv("matrix.csv", sep=',')
Convert the data to a matrix with:
data_matrix <-
2009 Jan 20
1
heatmap.2 color issue
Dear All:
I tried to use heatmap.2 to generate hierarchical clustering using the following command:
heatmap.2(datamatrix, scale="row", trace="none", col=greenred(256), labRow=genelist[,1], margins=c(10,10), Rowv=TRUE, Colv=TRUE)
datamatrix is subset of a RMA normalized data subset by a genelist.
The problem is a lot of times, the z-score in key are from, like -5 to 15 or
2013 Jan 12
3
heatmap.2 problem
Dear List,
I'm trying to generate a simple heatmap that has each row and column
separated by a black line. However, for some reason this only happens
for the first and last color. The middle color in my colorpanel()
command has an addition horizontal and vertical line that I would like
to get rid off. Any suggestions?
#my code below
my.matrix <- cbind(func.1 =
2006 Mar 06
2
Problems with heatmap.2 in the gregmisc package
Hi
Sorry to revisit an old problem, I seemed to solve this in 2004, only
for it to resurface :-S
I am trying to plot a heatmap, and I don't want the columns of my matrix
re-ordered. The function doesn't seem to behave as the help would have
you believe:
a <- matrix(rnorm(100),nr=20)
a.d <- dist(a)
a.hc <- hclust(a.d)
a.de <- as.dendrogram(a.hc)
# columns are re-ordered
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,
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
2004 Sep 02
3
Problems with heatmap.2
Hi
When I give the command:
>
heatmap.2(as.matrix(d),Rowv=as.dendrogram(hc.gene),Colv=FALSE,scale="row
",trace="none",col=greenred.colors(79))
The resulting heatmap has re-ordered my columns! This is time-course
data, and I don't want my columns re-ordered! Note from the help:
Rowv: determines if and how the _row_ dendrogram should be
reordered.
2011 Feb 09
2
heatmap-how to change the order of the rows (genes)
Hi,
I have a question about the heatmap dendrogram in R. I loaded my data
matrix in command heatmap(), and it gave me a heatmap accordingly, and the
rows (genes) also were clustered accordingly. But now I don't want the
genes clustered in that way, I have a new order of these genes, and want the
rows of the heatmap are drawed as the order I give. Could anybody help me
on that? Thank you!
2005 Jun 29
1
(PR#7972) row-side color bars ... in heatmap
Hi Kevin,
>>>>> "krc" == krc <krc at odin.mdacc.tmc.edu>
>>>>> on Mon, 27 Jun 2005 21:55:37 +0200 (CEST) writes:
krc> Full_Name: Kevin R. Coombes
krc> Version: 2.1.0
krc> OS: Windows XP
krc> Submission from: (NULL) (143.111.224.169)
krc> When revC = TRUE and RowSideColors is set to a list of
krc>
2007 Aug 23
1
figure-definition and heatmap question
Hello,
I have two questions. I'd like to visualize data with a heatmap and I have the
following testcase:
x <- rnorm(256)
nx <- x + abs(min(x))
nnx <- 255/max(nx) * nx
x <- matrix(nnx, 16, 16)
rownames(x) <-
2007 Dec 06
2
hclust in heatmap.2
Dear list,
I am using heatmap.2(x) to draw a heatmap. Ideally, I want to the matrix
x clustered only by columns and keep the original order of rows unchanged.
Is there a way to do that in heatmap.2()?
Thanks a lot! Any suggestions will be appreciated!
Best,
Allen
[[alternative HTML version deleted]]
2006 Feb 11
2
heatmap.2 in gplots (PR#8587)
Full_Name: Shane Neph
Version: 2.2.1
OS: mac os x
Submission from: (NULL) (71.113.43.247)
While I found the names of the package authors and maintainer, I was
unsuccessful in finding any contact information.
The preliminary documentation for heatmap.2 is inconsistent in at least a couple
of places when discussing the suppression of one or more dendrograms (and
column/row ordering in general).
2010 Feb 10
2
color palette heatmap
Hi,
I'm kinda new of the R world.
I need to use the heatmap or heatmap.2 function to plot correlation values.
2 questions:
- how can I specify a color palette? (would like to have a transition from
blue(-1) to white(0) to red(1))
- how can I use heatmap.2 imposing a specific order (like hclust.order)?
I mean, I don't want heatmap.2 to re-cluster/re-order my data but just to
plot them
2012 Sep 09
3
how to save a heatmap.2 in png /jpeg /tiff
Hey, I am still working on my heat map (for those who are read my previous post about row.names)…
Now, I would like to save my heat map.2 in .png or .tiff in order being able to work on the picture in photoshop, but it doesn't work.
I'am using (as I have found on some forum)
> png("heatmap.2.png) # and it just doesn't work. when I try doing it with::
2004 Jul 21
2
Cutting heatmap dendrogram
Hello,
I've been clustering my data using hclust and cutting the resulting tree
with cutree. Separately, I visualize the clusterings with heatmap. Is it
possible to have the dendrogram on the heatmap reflect the cutree results?
That is, instead of having one large dendrogram, it would have 4 or 25 in
the example below. Any guidance on if that's possible or not, and what
kinds of
2005 Aug 22
2
problem building dendrograms to use with heatmap()
Hi,
I'm trying to build dendrograms to pass to heatmap().
The dendrograms I build plot properly, but when I pass them to heatmap() I get
the error message "row dendrogram ordering gave index of wrong length" (see
output log below).
I looked in the code of heatmap() and saw that the error was due to a NULL
return value from order.dendrogram(), which in turn got a NULL return value
2011 Jun 30
1
heatmap documentation typo
Under Details, the documentation says "[if Rowv or Colv] is 'NULL',
_no reordering_ will be done for the corresponding side." In fact, as
explained elsewhere in the documentation, 'NA' is required, not
'NULL'.
An anonymous expert suggested that I should attach an svn diff file to
this report, so I will.
JD
-------------- next part --------------
Index:
2010 Feb 07
3
specifying colors in a heatmap/image -like plot
Hi,
I have searched for a solution but I failed to find an answer. I am hoping
you may be able to help me.
I have a data set where I have observations for a number of units (n =~40)
over a period of time (t =~100) and I have a variable (Z) that codes a
categorical variable for each observation. I want to produce a 2D plot where
time is on the x-axis and units are on the y-axis. Then each block
2005 Jul 27
3
Asymmetric colors for heatmap
> Dear expeRts,
>
> Currently, my colors are as follows:
> mycol <-
> c("blue1","blue2","blue3","blue4","black","yellow4","yellow3","yellow2","y
> ellow1")
> heatmap(snp, Rowv=NA, Colv=NA, col=mycol)
>
> However, I would like to have the following colors:
> bright blue ->