similar to: easier way to print heatmap on multiple pages?

Displaying 20 results from an estimated 2000 matches similar to: "easier way to print heatmap on multiple pages?"

2020 Jun 21
1
Possible bug in heatmap()?
Dear All, There might be a bug in heatmap(): x <- matrix(rnorm(10*5), 10, 5) heatmap(x, labCol=1:5) Error in axis(1, 1L:nc, labels = labCol, las = 2, line = -0.5, tick = 0, : 'at' and 'labels' lengths differ, 5 != 10 Works fine under 4.0.1. Looking at the code from 4.0.1 vs. Rdevel, esp. this part sticks out: labRow <- labRow[rowInd] %||% rownames(x) %||%
2004 Feb 16
1
labRow/labCol options in heatmap()
The function heatmap() allows to specify row/column labels via the options labRow/labCol. From the code of heatmap(), I understand that when no labels are specified, the row/column labels (or indices) of the input matrix are taken as labels and re-ordered together with the rows and columns of the matrix before plotting, whereas labels supplied via labRow/labCol are plotted in the original order.
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
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
2009 Sep 12
0
consistent results with heatmap.2
Hi, I am trying to create a heatmap with some specific requirements. Specifically, I need to be able to center the color-scale around 0, and I need to truncate the data so that a few extreme values do not cause the rest of the heatmap to appear black (on a red/green scale). After reading through and experimenting with heatmap, heatmap.2, heatmap_plus, and heatmap_2, I believe heatmap.2 will
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).
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 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
2006 Feb 09
0
Color key in Heat map
Hi all, I am trying to produce a heatmap to display clustering of similar rows in the data given below. For each given row, different colors are used to represent the corresponding column value. I want to display the values of the colors in the form of a color key added to the heatmap. Is there anyway of doing this? > z[1:10,1:6] [,1] [,2] [,3] [,4] [,5] [,6] [1,]
2005 Aug 08
1
heatmap -- invisible list?
Hi all, In heatmap's documentation, it mentions that the output value is actually an invisible list...how would one access this list? Thanks, Jake
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. Does
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,
2006 Feb 10
0
Heat Map
Hello all, I am trying to cluster similar rows of a data matrix together using hierarchical clustering and display the results in the form of a heat map. In a Heat map, is it possible to get the order in which the rows will be clustered , starting with the first rows joined into a group and then followed by other groups added. I thought i could extract the order by using $rowInd, but looks like
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 Apr 02
0
multiple annotations on a heatmap
Can someone recommend a more sophisticated way to annotate heatmaps than the ColSideColors argument of heatmap and heatmap.2? In particular, I would like to be able to annotate columns with more than one piece of information, like in Figure 1 of the article at http://www3.interscience.wiley.com/cgi-bin/fulltext/117905619/HTMLSTART / doi:10.1002/hep.22256. Some example data and a heatmap:
2009 Jul 23
0
using k-means clustering in conjunction with heatmap.2 function
Hello, I am trying to create a heatmap that clusters based on a k-means scheme rather than a hierarchical clustering scheme. Suppose I have the following input data, located in sample.table: x1 x2 x3 x4 x1 17.198 16.306 16.806 16.374 x2 14.554 10.866 15.780 14.596 x3 14.374 14.118 14.569 17.352 x4 17.505 14.596 15.738 14.070 By using the heatmap.2 function as follows, I can create a heatmap
2012 Jun 06
0
heatmap.2 clustering and adding add.expr
Hi , I am trying to plot a heatmap with a correlation matrix and trying to highlight significant correlations . i am using my matrix d874n has 78 columns ex2<-corAndPvalue(data.matrix(d874n),use = "pairwise.complete.obs") ##creating a matrix of true false using p values sig<-ex2$p<0.05 nx=78 ny=78 makeRects <- function(tfMat,border){ cAbove =
2005 Jul 21
0
reorder bug in heatmap.2?
I want to plot a heatmap without reordering the columns. This works fine in "heatmap": > heatmap(meanX[selected,], col=cm.colors(256), Colv=NA) But in "heatmap.2" I get: > heatmap.2(meanX[selected,], col=cm.colors(256), Colv=NA) Error in if (!is.logical(Colv) || Colv) ddc <- reorder(ddc, Colv) : missing value where TRUE/FALSE needed (Note that instructions for
2011 Apr 26
0
Questions about 'heatmap.2' function
I am trying a heatmap. I have 30 individuals and 1,000 genes. Some components I want for this heatmap plot: (1) the 'color-key'; (2) a banner across the top to emphasize how the hierarchical clustering has correctly split the data into the two groups; I use the 'heatmap.2' function in the 'gplots' package, and my function is as below: