ggtranscript icon indicating copy to clipboard operation
ggtranscript copied to clipboard

Make plots interactive

Open RHReynolds opened this issue 2 years ago • 4 comments

Given just how much information can be gleaned from these plots it would be incredibly useful if plots could be interactive (to allow for zooming, moving along a transcript structure, etc.). plotly enables some ggplot2 geoms to be made interactive via ggplotly(), however, as ggtranscript introduces new geoms these are not implemented.

RHReynolds avatar Feb 25 '22 12:02 RHReynolds

I agree, this would be super useful.

From a quick google, it looks like there's a list of ggplot2 extensions that are planned to undergo integration with ggplotly().

From plotly's book this integration looks to be trivial for some extensions, whilst being more complex for others.

My hope is that most of ggtranscript geoms (other than geom_junction_label_repel) will land on the trivial side. I'll test this and keep you updated.

dzhang32 avatar Mar 02 '22 10:03 dzhang32