Wrong sub-heatmap selection
Hello, when I select rows from the main heatmap, I don't get the right row names in the sub heatmap. It looks like the selection is shifted down by 9 rows (see picture). Also, It only occurs when I run my app in shinyproxy. from R studio I don't have this bug. Do you have any idea about what causes the problem and how to solve it? Thank you!
Hi @Keragen,
interesting finding, I was immediately afraid that this could be the cause for my via ShinyProxy deployed R Shiny application as well 😅 But luckily for mine it seems to work (see below)
Maybe that trying to reproduce it could at least help to show you that this does not seem to be a general issue of ShinyProxy deployed R Shiny applications leveraging InteractIveComplexHeatmap,
One random idea 💭 : Maybe it could be related to the heatmap size, since the one on the screenshot seems to be quite large. Have you tried already if that bug appears when you have a smaller heatmap?
Good luck 🤞 with debugging your application looks already quite promising 🚀
Hello and thanks for the answer. It seems to be related to the plot resolution (and not the amount of data). The greater the height the bigger the shift. What is puzzling is it works at every resolution on my windows R studio. (the faulty shinyproxy version runs on a ubuntu server, same code, same R version).
Ok, I found what causes it. The bug occurs when I zoom out with google chrome (ctrl+mouse wheel). when I zoom in (>=100%) it is fine. It only happens with shiny proxy though, so I guess the problem is between shiny proxy and chrome and not with InteractiveComplexHeatmap. Let's call this problem solved for the moment. Thanks again for the input @IvoLeist !
Cool that you managed to pin point when exactly that bug is happening.
Just out of curiosity I tried if my application shows the same behavior but so far I have not managed to reproduce it.
Here are my relevant versions:
- openanalytics/shinyproxy:3.1.1
- Chrome Version 136.0.7103.59 (Official Build) (64-bit)
- Ubuntu 24.04.2 LTS x86_64.