similar to: Heatmap problem

Displaying 20 results from an estimated 8000 matches similar to: "Heatmap problem"

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]]
2008 Aug 06
2
Attempting to make a custom color spectrum to use in heatmap.2
Hello there! I'd just like to say in advance, "Thank you," for any help and/or advice. My problem is as follows: I have a dataset that is made up of percentages. I've assigned my "error" percentages a value of '-100', my "non-existent" percentages a value of '0', and all my other percentages are normal values that range from the high
2011 Jun 14
1
heatmap with values
Hi! I'm displaying a contingency table with heatmap(): > svm.predPix.tabla svm.predPix CC DD LL NN NN2 CC 22 0 3 8 3 DD 0 27 0 1 0 LL 1 1 90 3 7 NN 2 0 1 11 4 NN2 0 0 5 1 20 > heatmap(svm.predPix.tabla[5:1,], Rowv=NA, Colv=NA,col = rev(heat.colors(32)), scale="column", margins=c(5,10)) and I'm happy
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
2007 Feb 09
2
heatmap color specification
hi, I have a positive integer matrix like: test<-matrix(c(1,2,2,2,2,1,1,2,3),3) and based on the distant function I made like this: generateDistMat<-function (target) { n <- nrow(target) rn <- rownames(target) distM <- matrix(NA, n, n) diag(distM) <- 0 for (i in 1:(n - 1)) for (j in (i + 1):n) { distM[i, j] <- length(which(target[i, ] !=
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
2008 Sep 25
2
levelplot/heatmap question
Hello! I have data containing a large number of probabilities (about 60) of nonzero coefficients to predict 10 different independent variables (in 10 different BMA models). i've arranged these probabilities in a matrix like so: (IV1) (IV2) (IV3) ... p(b0) p(b0) p(b0) p(b1) p(b1) p(b1) p(b2) p(b2) p(b2) ... where p(b1) for independent variable 1 is p(b1 !=
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 <-
2010 Mar 03
1
Heatmap reordering of dendrogram to hierarchical clustering
Dear list members, I have been using R to create a heatmap where my data has continous variables from 0 to 100. When I create the heatmap, although the branches are correct, they do not order themselves so that the row with the most zeros is at one end and the row with the most 100s is at the other, which is what I would like them to do, so as to create a colour gradient down the graphic. I have
2010 Jan 26
2
heatmap.2 color range
Hi, I'm trying to create a heatmap with color ranges for different values in my matrix. For example: If x > 5 , use orange gradient if x < 1.5, use red gradient ..... Right now I have the following: orgPal<-brewer.pal(3,"Oranges") bluPal<-brewer.pal(3,"Blues") redPal<-brewer.pal(3,"Reds") grad <- ifelse(randMat >
2007 Nov 30
1
about col in heatmap.2
Hi list, My data set is comprised of 47 columns and about 700 rows. Most of the values would be around 2, while some will go beyond in either direction, higher or lower. Is there a way to specify the parameter of col or others if necessary to have the range of representing colors be 0----8, and make dark for 2, red for higher than 2 and green for lower than 2. Is there a way to do this? Thanks a
2010 Mar 09
3
Fine Tuning Plotrix
Dear All, Please see the code snippet at the end of the email. I am using the color2D.matplot in Plotrix to plot a matrix. It works great, but there are a few things I cannot figure out (1) the value of cex.axis in the code snippet does not seem to affect the final pdf at all (at least on my system, Ubuntu 9.10, plotrix and Cairo installed from cran). How do I specify the size of the axis ticks
2011 Jul 28
1
plotting matrix into 2D color plots with rainbow colors
Dear all, Can you pl. help me in plotting a matrix into 2D plot with more color options. I tried to plot with myImagePlot with RGB color ramp but it shows limited variation in color. There is a rainbow plot option also. Can anyone help me. Regards, Hitendra -- Hitendra Padalia, PhD Scientist/Engineer 'SD' Regional Remote Sensing Centre-North, NRSC Indian Space Research Organisation
2006 Jan 23
1
lines() in heatmap()
Hello! I looked for help through google and the help-files and spend several hours with trial and error, but didn't find a correct way. It's all about lines in a heatmap to separate different data block from each other to underline the significance of the found clusters! The heatmap is build like that: heatmap(X, Rowv=NA, Colv=NA, symm=TRUE, cexRow=0.3, cexCol=0.3) I switched the
2009 May 13
4
plotting a grid with color on a map
Hi all, I have posted similar questions regarding this topic, but I just can't seem to get over the hump and find a straightforward way to do this. I have attached my file as a reference. Basically, the attached file is a 5 degree by 5 degree grid of the the world (2592 cells), most of them are NA's. I just want to be able to plot this grid over a world map and color code the cells. For
2010 Apr 23
2
3D Plot
Hi guys of the R-Help-Team!<br /><br />First of all - you do a great job!<br />I've found a lot of your mails in the internet. So I thought it would be a good idea to ask you a question about R.<br /><br />R is new to me, so sorry, if the question is too simple :)<br /><br />I have a matrix.<br />I can make a 2D Heatmap of this matrix.<br
2012 Feb 28
1
Unexpected behaviour for RowSideColors in function heatmap
Hello, I have come across some unexpected behaviour of the function heatmap in the stats package. This looks like a bug to me, but I might have misunderstood something. When calling the function in symmetric mode, the ColSideColors are plotted correctly, but RowSideColors appear in reverse order. This code (modified from the example on the help page) demonstrates the problem: cU <-
2007 Nov 10
7
How to more efficently read in a big matrix
Dear list, I need to read in a big table with 487 columns and 238,305 rows (row names and column names are supplied). Is there a code to read in the table in a fast way? I tried the read.table() but it seems that it takes forever :( Thanks a lot! Best, Allen
2010 Nov 04
3
Plotting a grid of directly specified colours
Dear R-help, Could any of you direct me to a function for plotting a grid of colours, directly specified by a matrix of hex colour codes? In other words I'm looking for a heatmap() or image()-like function to which I can specify the colour of each grid location directly, rather than providing a numerical matrix and a 1D-colour scale (heatmap, image, levelplots,NeatMap...). I'm surprised