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

widget for easy interactive movement around a chromatogram (like in isoviewer) #64

Open
sebkopf opened this issue Mar 28, 2019 · 2 comments
Milestone

Comments

@sebkopf
Copy link
Contributor

sebkopf commented Mar 28, 2019

maybe this should just be functionality available from isoviewer instead? but possible to use inside an rmd file

@sebkopf sebkopf added this to the v 2.0 milestone Mar 28, 2019
@sebkopf 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
@japhir
Copy link
Contributor

japhir commented Jul 10, 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.

@sebkopf
Copy link
Contributor Author

sebkopf commented Jul 10, 2019

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.

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

2 participants