Skip to content
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

Regarding visualization of more than 6000 rows using d3heatmap #55

Open
pbachali opened this issue Mar 22, 2016 · 2 comments
Open

Regarding visualization of more than 6000 rows using d3heatmap #55

pbachali opened this issue Mar 22, 2016 · 2 comments

Comments

@pbachali
Copy link

I am Prathyusha Bachali, Bioinformatician at Ampel Biosolutions doing microarray data analysis and I used generate heatmaps using heatmap.2 of gplots package. This does not favor me with zooming the data feature in heatmap. But d3heatmap package has this awesome quality where I can zoom the chunks of my heatmap. I am able to generate heatmap using up till 2000 rows. If it is more than that, it is not throwing any error it is generating heatmap but it is leaving blank space but I can see the values if i hover.
I am not sure how to solve this issue. Here is the screenshot of my heatmap.
image.
Any help or suggestion would be appreciated.

Thanks,
Prat

@juferban
Copy link

juferban commented Apr 5, 2016

Hi Prathyusha,

In case you are still trying to solve this issue I would suggest adding this option to your d3heatmap code:
show_grid = FALSE

I experience this issue in the past where the "cells" are too small due to the amount of data points and the grid lines around each cell (white color lines by default) are creating the illusion of a white canvas.

Hope this helps,

J.

@talgalili
Copy link
Owner

Hi @pbachali

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:
https://cran.r-project.org/package=heatmaply

The feature you've requested is now available by using the new plotly plot_method, for example, using the following code (you can play with larger numbers, and it can still handle them much better than d3heatmap):

library(heatmaply)
bix_x <- matrix(1:10000, 100,100)
heatmaply(bix_x, plot_method = "plotly")

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants