lawremi / ggbio

Grid and ggplot2 based visualization for biological data
111 stars 24 forks source link

plotly not support ggbio object #163

Closed cj-forJ closed 2 years ago

cj-forJ commented 2 years ago

Hi, it's very convenient to use ggbio, but how can i convert a ggbio object to a ggplot one? I want to show the results interactively using Plotly, thanks!

sanchit-saini commented 2 years ago

ggbio class has a slot for the ggplot object. Hence, it can be accessed with @.

For example

ggbio_object@ggplot
cj-forJ commented 2 years ago

Thank you very much! The affair was settled. @sanchit-saini