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

Grouping Heatmaps #230

Open
sbenderb opened this issue Feb 24, 2020 · 2 comments
Open

Grouping Heatmaps #230

sbenderb opened this issue Feb 24, 2020 · 2 comments

Comments

@sbenderb
Copy link

Other libraries allow the grouping of several heatmaps into a single output/image (with the option to add a "grouping" annotation); is there a way to do this with heatmaply?

I know this is possible after downloading each individual as a png and then grouping them, but I'd like to be able to group them and possibly annotate them before downloading the whole image as a png.

@alanocallaghan
Copy link
Collaborator

Can you provide a concrete example of what you want to accomplish (eg in ComplexHeatmap code). I suspect the answer is, "no and it would be too difficult to implement".

You might be better off looking at https://github.com/ropensci/iheatmapr/

@Yunuuuu
Copy link

Yunuuuu commented Aug 4, 2024

Hi, a simple solution would be to draw twice of the horizontal lines for the dendrogram. We just need update the underlying dendrogram data.

I use this function to create the dendrogram data see https://github.com/Yunuuuu/ggalign/blob/c4db734e86ebd2f490e7c18ef62c448d00f5b691/R/dendrogram.R#L131
You can copy this code to generate the unnderlying data for dendrogram.

I have successfully use this method to create facetted heatmap,
gwmTsREI

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