Questions tagged [heatmaply]
heatmaply is an actively maintained open-source heatmap package for R, based upon the plotly R and JavaScript libraries.
41
questions
12
votes
2answers
10k views
Plotting a clustered heatmap with dendrograms using R's plotly
I'm following this example on how to create a clustered heatmap with dendrograms with R's plotly. Here's the example:
library(ggplot2)
library(ggdendro)
library(plotly)
#dendogram data
x <- as....
4
votes
1answer
170 views
heatmaply color when all elements are the same value
I'm using heatmaply to generate "heatmaps" of binary matrices, where each value in the matrix is a 1 or a 0. I've set 1 to red and 0 to gray, and it works fine. The code looks like so:
library(...
3
votes
2answers
597 views
How can I deploy an interactive heatmap by shinyheatmaply
I am trying to deploy an interactive heatmap as a shiny app but not simply an interactive heatmap rather a fancy heatmap by shinyheatmaply but when I am running deployapp nothing happens
This is my ...
3
votes
2answers
2k views
Dendrogram with Corrplot (R)
Does anyone have a method to adorn an R corrplot correlation plot with a dendrogram?
3
votes
1answer
1k views
Interactive heatmap in R
My dataframe looks like:
rankA rankB V1 V2
1 0-1 w 1-2 t 8.636042 10.43002
2 0-1 w 3-5 t 6.495266 10.52126
3 0-1 w 6-10 t 5.480639 10.56230
...
3
votes
0answers
252 views
heatmaply Can't Reorder without Displaying Dendrogram
I wish to reorder the rows but not show the dendrogram with heatmaply, this code runs but doesn't do this:
colorStand <- colorRampPalette(colors = c("blue", "white", "red"))
heatmaply(data, ...
2
votes
1answer
1k views
Remove row labels from aheatmap and heatmaply (heatmapr)
I would like to remove the row labels from a heatmap with many rows. I need to do this in both heatmaply and aheatmap. However, all the possible options I could think of either result in an error or ...
1
vote
1answer
279 views
Get row names belonging to each cluster from heatmaply clusters in R
I am trying to get 5 lists of all row elements after using heatmaply in R. I set k_row = 5 so the dendrogram shows 5 different colors. I just want to return a list of 5 lists, where each list contains ...
1
vote
1answer
105 views
Heatmaply Remove Ticks
I have the following code:
colorStand <- colorRampPalette(colors = c("blue", "white", "red"))
heatmaply(data, margins = c(60,100,40,20), colors=colorStand,
limits = c(-2.5,2.5),showticklabels ...
1
vote
2answers
29 views
R: Heatmaply creates empty/ white space in viewer
i tried to create a heatmap with my own data and kept only getting white space. I found this very basic instruction on how to work heatmaply based on the mtcars data. After restarting R (close Window ...
1
vote
1answer
51 views
R heatmaply and pheatmap output
I am using the R heatmaply package to produce interactive heatmaps. I like the software, but I would like to get from it the same color output I get using the pheatmap package. Therefore, I would like ...
1
vote
1answer
227 views
How to add an interactive heatmap to a PDF?
I have created a heatmap in R and heatmaply. I need to add this heatmap to a paper I am publishing. The heatmap is very big and heatmaply's zoom is very useful. Is it possible to add this heatmap - it ...
1
vote
2answers
968 views
Hot to save html file only from R and htmlwidgets?
I an using R to draw heatmap. Heatmaply and htmlwidget were installed. Fox example i exec following code:
library("htmlwidgets")
library("heatmaply")
heatmaply(mtcars) %>% saveWidget(file="test....
1
vote
1answer
299 views
Problems with cellnote in heatmaply
I'm using heatmaply() to create an interactive heatmap for Shiny. I encounter a few challenges when using cellnote = "some values":
cellnote starts in the center of the relevant tile of the heatmap ...
1
vote
1answer
51 views
Using heatmaply dendrogram sorting in pheatmap
Is there a way of using the dendrogram clustering method used in the heatmaply package and to apply it to a heatmap produced by the pheatmap package? Basically the opposite to what was asked here: ...