Displaying 20 results from an estimated 393 matches for "heatmaps".
Did you mean:
heatmap
2017 Jul 23
3
par(mfrow) for heatmap plots
Hi,
I was trying to use par(mfrow) to put 4 heatmaps on a single page. However,
I get one plot per page and not one page with 4 plots. What should I
modify? Test code is given below:
test = matrix(rnorm(60), 20, 3)
pdf(file='test.pdf',width=10,height=8)
par(mfrow=c(2,2))
heatmap(test)
heatmap(test)
heatmap(test)
heatmap(test)
dev.off()
tha...
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
2007 Apr 25
1
heatmap and phylogram / dendogram ploting problem, ape package
I am having trouble displaying a dendrogram of evolutionary
relationships (a phylogram imported from the ape package) as the
vertical component of a heatmap, but keeping the hierarchical
clustering of the horizontal component. The relationships of the
vertical component in the generated heatmap are not that of the
dendrogram, although the ordering is.
In more detail, I am attempting to generate
2013 Dec 12
1
Heatmap, and heatmap.2 gave different figures for the same dataset
I have a huge dataset(15k X 18) and tried to use the heatmap in R to examine the patterns. However, I found that heatmap and heatmap.2 gave me completely different outputs.
Here are the codes:
------------
> dim(as.matrix(data.dcpm))
[1] 15462??? 18
>
> heatmap(as.matrix(data.dcpm), col=topo.colors(100))
> heatmap.2(as.matrix(data.dcpm), col=topo.colors(100), key=TRUE,
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!
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
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
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::
2005 Jul 21
3
heatmap color distribution
Hi all,
I've got a set of gene expression data, and I'm plotting several
heatmaps for subsets of the whole set. I'd like the heatmaps to have
the same color distribution, so that comparisons may be made
(roughly) across heatmaps; this would require that the color
distribution and distance functions be based on the entire dataset,
rather than on individual subsets....
2004 Jan 04
5
Analyzing dendograms??
I have used heatmap to visualize my microarray data. I have a matrix of
M-values. I do the following.
#The distance between the columns.
sampdist <- dist(t(matrix[,]), method="euclidean")
sclus <- hclust(sampdist, method="average")
#The distance between the rows.
genedist <- dist(matrix[,], method="euclidean")
gclus <- hclust(genedist,
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,
2013 Oct 21
3
Error in heatmap
Hi,
Could you please help?
Heatmap doesn't work with:
> heatmap(as.matrix(SPIV2),na.rm = T)
Error in hclustfun(distfun(x)) :
NA/NaN/Inf in foreign function call (arg 11)
There are no 0 data rows or column
Thanks a lot
Regards
---------------------------------------
David
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 ->
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi,
I want to generate a heatmap for my data (in a matrix). However, the
data has some missing values (represented as blank).
I get the following errors (with the blanks and with blanks replaced by
NA and including the option rm.na = TURE):
> filename = "input_heatmap.txt"
> g <- as.matrix(filedata)
> fg <- rainbow(nrow(g), start=0, end=.3)
> gg <-
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
2011 Jun 02
2
heatmap question
Hi,
I have what would seem to be a very simple problem but have been unable to find any way to go about solving it:
I am using heatmap.2 to create a heatmap and by default the x axis label is at the bottom of the heatmap, I simply want to move the label to the top of the heatmap. Any help with this would be greatly appreciated.
Thanks,
Mark
2003 Sep 11
3
Flipping a heatmap
Hi
I am using the heatmap function in package mva to look at large
correlation matrices visually.
Is there any way to "flip" the output of heatmap plot left-right so
that, if presented with a correlation matrix, it plots the unity
elements in the correlation matrix along a diagonal from top left to
bottom right?
For example:
library(mva)
x = matrix(rnorm(1000), ncol=10)
z = cor(x)
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
2007 Oct 08
2
heatmap
Hi,
I am having troubles with heatmap(). I have a matrix containing pairwise
distance values and I want to plot this matrix with heatmap. I wonder
now what distfun is for. Is a distance matrix computed from my initial
matrix again and then plotted?
cheers,
andreas
2009 Nov 17
2
question about function heatmap
Hi,
I am using the function heatmap(stats) to draw a microarray heatmap,
columns are samples and rows are gene features.
I did a 2D clustering during the heatmap drawing. The features and
samples indeed cluster into several blocks both vertically and
horizontally.
I can get the index of re-ordered rows and columns after the heatmap
drawing by typing the the return variable of the heatmap