gladkia / igvR

An R Bioconductor package providing interactive connections to igv.js (the Integrative Genomics Viewer) in a web browser
MIT License
42 stars 4 forks source link

Is it possible to save the results automatically? #8

Closed pgasperowicz closed 5 years ago

pgasperowicz commented 5 years ago

@paul-shannon Hi! I would like to save localhost to .png or .svg. The recorded image should contain all the displayed information: navigation panel, chromosome image, refseq, all tracks. Best solution would be to make a screenshoot.

I tried the webshot package but unfortunately it does not recognize localhost. I also tried to import the content back to Rstudio Viewer Pane but nothing came of it either.

I know that you can save each track by RMB on a given track and save as .png or .svg. but it's about saving it automatically after being generated.

Best!

paul-shannon commented 5 years ago

@pioters Good suggestion. It's a busy week so I may not get to this till the weekend. But get to it I will!

paul-shannon commented 5 years ago

@pioters It took me longer to get around to this than I predicted. But save to svg is now supported:

Let me know if it does what you need.

pgasperowicz commented 5 years ago

Awsome! I'll get to it at the weekend.

pgasperowicz commented 5 years ago

Perfect. Works like a charm. Thank you!