Questions tagged [heatmap]

A heatmap is a visual representation of data where values in a matrix is represented as colors, often after a re-ordering of the rows and columns to emphasize similarities.

Wikipedia has an article https://en.wikipedia.org/wiki/Heat_map with further references.

52 questions
23
votes
7 answers

Are heat maps "one of the least effective types of data visualization"?

Question: When (for what types of data visualization problems) are heat maps most effective? (In particular, more effective than all other possible visualization techniques?) When are heat maps least effective? Are there any common patterns or rules…
Chill2Macht
  • 5,639
  • 4
  • 25
  • 51
8
votes
2 answers

Data Visualization: Alternatives to Choropleth maps for spatial data and statistical graphics

This question is about data visualization and statistical graphics. I have been trying to present statistical data in map. The data is at county level in the US and also at time state level. My data looks some what similar to the one below (sourced…
forecaster
  • 7,349
  • 9
  • 43
  • 81
5
votes
1 answer

Which statistical analysis and graphical representation are appropriate for longitudinal bacterial quantification data?

Recently I have conducted a microbiological experiment on carriage pattern of bacteria in a certain group of professional people over a week. It would be very helpful for me if somebody suggest which statistical analysis and graphical representation…
Zahir
  • 61
  • 4
4
votes
3 answers

How to construct this "prediction heatmap" assuming OLS (worked out example)

The following visual certainly delivers in terms of eye candy: There was no details on the model specification, but let's just assume its something like: $$price = \beta_{0} + \beta_{1} x_{surface} + \beta_{2} x_{cyear} + \epsilon$$ Where: $price$…
Arash Howaida
  • 741
  • 7
  • 19
4
votes
2 answers

Statistical test for determining hot spot in a heat map

I'm analyzing high through proteomic data and have several thousand 5x5 matrices, where in each matrix the rows and columns refer to different biological conditions, and each cell refers to gene expression in that pair of biological conditions. I…
4
votes
0 answers

Row Correlation Heatmap Pandas

I'm trying to find any relationship/patterns between a large number of rows in a dataset (~2000) and I'm thinking of using a correlation heatmap. However, after transforming the df using df = df.T.corr() and only plotting the first 100 rows with…
4
votes
0 answers

R/MASS kde2d and bandwidth.nrd

First off, I didn't know whether to post this here or on SO. I tossed a coin and ended here. Second, I'm trying to get a grip on the kde2d function in the MASS library. I've read the manual on kde2d and bandwidth.nrd (which kde2d uses to compute its…
4
votes
1 answer

Making a heatmap understandable when printed in black ink

What are some good ways to make a heatmap understandable when printed in black ink? (without having to butcher the color version too much, as some reader might have some color printer, or read on the computer) For example, the following heatmap…
Franck Dernoncourt
  • 42,093
  • 30
  • 155
  • 271
4
votes
2 answers

Reconstruction of Species Distribution based on poorly-sampled data

cross-posted to Signal Processing, World Building, and Biology Stack Exchange Problem: After reading a series of fantasy novels, I noticed that the biosphere in that world made no sense. To clarify, this is a world where despite magical occurrences,…
3
votes
3 answers

How can one interpret a heat map plot

I am doing a stats assignment in python and during my preliminary data analysis I created a heatmap plot and would like to be able to explain the correlation among the variables. However, I don't understand how the relationship works and how it can…
Ann
  • 33
  • 1
  • 1
  • 3
3
votes
1 answer

Data rescaling for a more informative heatmap?

I have a 2000$\times$2000 matrix of values. Over half of the values are 0, and for those non-zeros, most of them are less than 10, but the maximum value is 140. So when I do a heatmap, it looks like a single color with couple of spots in it. What…
lxcfuji
  • 31
  • 3
2
votes
1 answer

Correlation heatmaps with batch effects

I am interested in plotting correlation heat maps for a multivariate dataset collected in two batches. Some of the variables show a clear batch effect others do not show any batch effect. Is there any way to take care of batch effects in…
2
votes
1 answer

Statistically compare similarity between images

I have two images/heatmaps (2d matrix) of identical size. I need to statistically compare the similarity between the two. With 'similarity', I mean that high and low values of one image appear in similar areas in the other image. Does anyone have…
2
votes
0 answers

Hierarchical clustering dendrogram on a distance matrix

When computing hierarchical clustering over a data matrix, a dissimilarity matrix is first computed in order to build the tree (dendrogram). For example: library(pheatmap) data(iris) # Make a heatmap rownames(iris) <- paste0("r", 1:nrow(iris)) p1…
drgxfs
  • 804
  • 6
  • 17
2
votes
1 answer

Finding the effect of nodes on a density heatmap

Let's say I have a geo-tagged dataset of all payment transactions for businesses in a city. I know whether each payment is made by cash or card, and have made a heatmap of where in the city the highest rate of cash payments occur. Now I have a…
1
2 3 4