You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sebkopf
changed the title
add a widget function for easy movement around a chromatogram (like in isoviewer)
widget for easy interactive movement around a chromatogram (like in isoviewer)
Mar 28, 2019
I've been creating ggplots and making them interactive using plotly's ggplotly. This allows me to zoom in on separate axes (draw rectangle, drag borders of specific axis, drag narrow rectangle for one axis only, double click to restore auto-zoom), allows hiding of specific legend entries and is generally great!
One major thing: if you're plotting individual cycles for many many measurements the geom_point can get a bit slow (geom_line should wourk fine) so you can wrap your can render it using WebGL like so: toWebGL(ggplotly(dynamicTicks=TRUE)). The dynamicTicks is so that the tickmarks update whilst zooming in.
I love plotly and I think you're right that isoviewer should provide an easy way to make thinks interactive both with static plots and through ggplotly. The static plot version is nice for zooming in and generating PDFs of subsets of a plot. I think should be easy to just provide both options.
maybe this should just be functionality available from isoviewer instead? but possible to use inside an rmd file
The text was updated successfully, but these errors were encountered: