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

Is it possible to define the cell height and widht in heatmaply #267

Open
lucanico opened this issue Jul 2, 2021 · 4 comments
Open

Is it possible to define the cell height and widht in heatmaply #267

lucanico opened this issue Jul 2, 2021 · 4 comments

Comments

@lucanico
Copy link

lucanico commented Jul 2, 2021

not sure If this feature is available. I would like to know if it is currently possible to define cell width an height in heatmaply().

Apologies in case I missed something.

Thanks

@alanocallaghan
Copy link
Collaborator

Can you be a bit more specific? You mean to define how big each cell of the heatmap is in pixels? This is unlikely to be doable since the heatmap sizing includes dendrograms, labels, etc, though I might be able to give you a recipe to try to figure it out in some limited cases.

@lucanico
Copy link
Author

lucanico commented Jul 22, 2021 via email

@alanocallaghan
Copy link
Collaborator

Yeah unfortunately this would be really hard to do. The easiest way to do it would be something like

library(heatmaply)
heatmaply(mtcars, show_dendrogram = FALSE, hide_colorbar = TRUE, showticklabels = FALSE)

And then save with the same width and height, but even that is not going to be exact.

@lucanico
Copy link
Author

lucanico commented Oct 14, 2021 via email

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

No branches or pull requests

2 participants