iheatmapr icon indicating copy to clipboard operation
iheatmapr copied to clipboard

Can we combine the plots?

Open dasiav7 opened this issue 6 years ago • 4 comments

Hi, Can we make the subplots like plots in the link down below? https://plot.ly/r/subplots/ Not just add_subplot but combine multiple(or two) main_heatmaps "vertically"

dasiav7 avatar Dec 03 '18 10:12 dasiav7

@dasiav7: The link you inclued points to https://github.com/ropensci/iheatmapr/issues/url instead of https://plot.ly/r/subplots/.

mschilli87 avatar Dec 03 '18 11:12 mschilli87

@mschilli87 Thank you so much for your correction!

dasiav7 avatar Dec 03 '18 12:12 dasiav7

Not as in the link, but you can add heatmaps vertically... you have to specify the orientation = "vertical" in the initial call to main_heatmap. Then add_main_heatmap will add a heatmap vertically instead of horizontally. Does not allow for making a grid of heatmaps though... either can orient things horizontally (the default) or vertically.

AliciaSchep avatar Dec 04 '18 06:12 AliciaSchep

Thank you @AliciaSchep ! But if I already added one main heatmap horizontally, I can't add another vertical main heatmap, right? I just tried and got three horizontal heatmaps without any warning and error.

dasiav7 avatar Dec 04 '18 07:12 dasiav7