hadexversum / HaDeX

Analysis and Visualisation of Hydrogen/Deuterium Exchange Mass Spectrometry Data
http://mslab-ibb.pl/shiny/HaDeX/
8 stars 2 forks source link

Replace natural geoms with interactive geoms from ggiraph optionally #134

Open DominikRafacz opened 2 years ago

DominikRafacz commented 2 years ago

Since ading redundant geoms in the UI layer is very tedious and redundant, I suggest that we take an optional dependency on {ggiraph} in {HaDeX} and add some parameter to all the plotting functions like interactive. This parameter could be FALSE by default and when set to TRUE it checks if {ggiraph} is installed and replaces geoms with their interactive counterparts. In this manner we don't need to add another layer on GUI side, which is especially hard for multi-layered plots.

DominikRafacz commented 2 years ago

idea initially accepted, postponed until the end of migration of GUI