similar to: gplot heatmaps: clustering according to rowsidecolors + key.xtickfun

Displaying 20 results from an estimated 100 matches similar to: "gplot heatmaps: clustering according to rowsidecolors + key.xtickfun"

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 <-
2010 Feb 23
2
heatmap.3
Hello again, lately I have been playing a lot with heatmap functions, in particular I complemented heatmap.2 with a nice feature from heatmap.plus, i.e. the possibility of assigning a matrix to ColSideColors so to take into account more annotations. Below is the code I introduced in heatmap.2, everything else is maintained equal to heatmap.2: if (!missing(ColSideColors)) { #if
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 Sep 05
1
problem formatting and positioning title in heatmap
I am using heatmap with the arguments below. The title size stays the same no matter what I set cex.main to. Is this expected? Can I adjust the title size in heatmap? Also, the position of the main title is at the very upper edge of the output and if I use a "\n" to stack the title the upper line is out of bounds and doesn't show up. I am outputting to pdf. Any help? Thanks,
2005 Jun 27
0
row-side color bars do not reverse properly in heatmap (PR#7972)
Full_Name: Kevin R. Coombes Version: 2.1.0 OS: Windows XP Submission from: (NULL) (143.111.224.169) When revC = TRUE and RowSideColors is set to a list of colors in heatmap, then the image and dendrogram are inverted, but the row-side color map does not change. The following script illustrates the problem. ############## set.seed(1023) # generate columns of two different types d1 <-
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 Sep 08
1
saving heatmaps in graphical format that can be edited in graphic editor tool
I generated a heatmap in R using the following commands: > mydata <- read.csv(file="Data.csv", header=TRUE, sep=",") > mydata <- mydata[rowSums(mydata[,-1]^2) >0, ] > rownames(mydata)=mydata$Name > mydata <- mydata[,2:253] > mydatamatrix <- data.matrix(mydata) > mydatascale <- t(scale(t(mydatamatrix))) > hr <-
2011 Mar 03
1
Error in model.frame.default
Dear R- Community, to learn i reanalysed some data provided and analysed by Zuur et. al. in their book "Mixed effect models and Extensions in Ecology with R". When i run the last command i get a warning message i dont understand. Loyn<- read.table(file = "loyn.txt",header = TRUE) Loyn$L.AREA<- log10(Loyn$AREA) fGRAZE <-factor(Loyn$GRAZE) M0<- lm(ABUND~ L.AREA
2010 Sep 08
2
saving heatmaps in graphical format that can be edited in graphic editor tools
I generated a heatmap in R using the following commands: > mydata <- read.csv(file="Data.csv", header=TRUE, sep=",") > mydata <- mydata[rowSums(mydata[,-1]^2) >0, ] > rownames(mydata)=mydata$Name > mydata <- mydata[,2:253] > mydatamatrix <- data.matrix(mydata) > mydatascale <- t(scale(t(mydatamatrix))) > hr <-
2009 Aug 19
1
moving color key in heatmap
Dear list, I have a question on moving color keys when side color bars are added to a heatmap. The R code below produces the color key in the upper left corner. Notice I have added side bars to the heatmap, but how could I move the color key below the image? ------ library(gplots) data(mtcars) x <- as.matrix(mtcars) rc <- rainbow(nrow(x), start=0, end=.3) cc <- rainbow(ncol(x),
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
2011 Mar 02
2
clustering problem
Hi, I have a gene expression experiment with 20 samples and 25000 genes each. I'd like to perform clustering on these. It turned out to become much faster when I transform the underlying matrix with t(matrix). Unfortunately then I'm not anymore able to use cutree to access individual clusters. In general I do something like this: hc <- hclust(dist(USArrests), "ave")
2010 Mar 07
0
How the change the dimension of an individual cell [i.e. the cell corresponding to an observation in data matrix] in a heatmap.2?
Dear R-Helpers, I have a short question related to heatmap.2 function. I wanted to change the dimension of each cell in the heatmap drawn by this function. here is a reproducible example from the help page library(gplots) data(mtcars) x <- as.matrix(mtcars) rc <- rainbow(nrow(x), start=0, end=.3) cc <- rainbow(ncol(x), start=0, end=.3) hv <- heatmap.2(x, col=cm.colors(255),
2011 Oct 18
0
heatmap
Dear R users, need help with my heatmap. I will really approciate some help. Given the matrix: > head(x) A B C D time [1,] 0 8 0 0 1 [2,] 0 160 0 0 2 [3,] 0 175 0 0 3 [4,] 0 253 0 0 4 [5,] 79 212 0 0 5 [6,] 6 105 0 0 6 and call: ##------------ Heatmap -------------- library(RColorBrewer) rc <- grey((nrow(x):1)/nrow(x)) heatmap(data.matrix(x[,1:4]),
2009 Jul 21
1
problem with heatmap.2 in package gplots generating non-finite breaks
I have written a wrapper for heatmap.2 called heatmap.w.row.and.col.clust which auto-generates breaks using breaks<-round((c(seq(from=(-20 * stddev), to=(20 * stddev))))/20, digits = 2) #(stddev in this case = 2.5) This has always worked well in the past but now I am getting an error that non-finite breaks are being generated. Drilling down, it seems that my wrapper is generating finite
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
2004 May 10
3
Colouring hclust() trees
I have a data set with 6 variables and 251 cases. The people who supplied me with this data set believe that it falls naturally into three groups, and have given me a rule for determining group number from these 6 variables. If I do scaled.stuff <- scale(stuff, TRUE, c(...the design ranges...)) stuff.dist <- dist(scaled.stuff) stuff.hc <- hclust(stuff.dist)
2013 Oct 23
1
gplot
Hi all, I couldn't install gplots package. > install.packages("gplot") Warning message: package 'gplot' is not available (for R version 3.0.2) i want to use heat maps.2 function. can you please tell me how to install this package or are there any alternatives. Thanks in advance :) [[alternative HTML version deleted]]
2011 Jun 09
0
Help creating a scatterplot with errorbars using gplot
I am having a problem creating a scatterplot with error bars using gplot. This is only my second day using R so I am very much a newbie. My x-values (OD600) are: 0.00400000 0.01866667 0.04733333 0.08733333 0.22466667 0.42400000 0.82066667 1.39233333 1.61100000 My y-values (cellconc) are: 2e+06 5e+06 1e+07 2e+07 5e+07 1e+08 2e+08 5e+08 1e+09 And my standard deviations (stdev) are: 0.001154701
2007 Dec 28
2
gplot function - error
Hi all, i installed the ggplot2 package via install.packages(), but the gplot function was not recognized in R console command. Is there any paths to configure? The error message reports that the function was not found. Thanks Ricardo ____________________________________________________________________________________ Be a better friend, newshound, and