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
I am attempting to use SBGNview in Jupyter notebook. I am not interested in saving the result to file but only in embedding the SVG string in the notebook for interactive viewing. Would it be possible to add a utility function allowing to displaying the result? Most R packages I know use print for display and have a dedicated save method, but here the print.SBGNview is used as save which prevents some use-cases. I am happy to open PR if this is welcome.
The text was updated successfully, but these errors were encountered:
I want to second this idea. This would be helpful also if you want to save the plot to e.g. an .RDS file for later. For example, I often write plots to .RDS-files to assemble them later with the cowplot-package. Currently as a workaround, I am trying to read the .svg file back into R with the magick package and use the ggplotify package to convert the image into a ggplot object. This seems to work for now but being able to directly access the object would make it easier to handle it as an e.g. grid object or rendering it directly to the screen as described above.
I am attempting to use
SBGNview
in Jupyter notebook. I am not interested in saving the result to file but only in embedding the SVG string in the notebook for interactive viewing. Would it be possible to add a utility function allowing to displaying the result? Most R packages I know useprint
for display and have a dedicatedsave
method, but here theprint.SBGNview
is used as save which prevents some use-cases. I am happy to open PR if this is welcome.The text was updated successfully, but these errors were encountered: