-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print Cell Labels in Heatmap #74
Comments
I believe there is a parameter called "cellnote", where you can pass in the labels in the format of a matrix whose size matches the data matrix you put in d3heatmap. Then the label you desire will show in the hover. Is it what you want? |
I mean he means having the data printed directly on to the heatmap cell. |
Is there a way to achieve this? Values written directly in the cells? |
I will try to add this to heatmaply in the future (I believe it shouldn't be too hard to do there, since it would simply mean adding a paramater that adds another ggplot2 text layer). Cheers, |
The heatmaply R package is a new implementation of interactive cluster heatmaps in R which relies on the plotly R package. This is based on a fork of my work in d3heatmap. The package is availabale from CRAN: The feature you've requested is now available by using the following code: library(heatmaply)
heatmaply(mtcars, draw_cellnote = TRUE) (specifically you should get the github version since it has the most updated color interpolation for this) |
Is it possible to add data labels in each cell of the heatmap? If not, is this something that can easily be built?
The text was updated successfully, but these errors were encountered: