thackl / gggenomes

A grammar of graphics for comparative genomics
https://thackl.github.io/gggenomes/
Other
581 stars 64 forks source link

Import DECIPHER synteny as links #92

Closed nschan closed 2 years ago

nschan commented 2 years ago

Hello,

gggenomes is really neat, but as far as I could tell there is currently no easy way to use synteny results from the DECIPHER package (www2.decipher.codes) as links for plots.

I made synteny_to_link() to convert from synteny-class to a table that is compatible with geom_links, if you think this would be a useful addition to your package here is a pull request. Please let me know if you have questions or if you think this requires modifications

Cheers Niklas

thackl commented 2 years ago

Hi Niklas,

thanks, very useful! I was planning to add more functions to import data from other tools/packages. I'll merge the function as is right now, but I might make some changes, add doc etc. in the coming days if I have time.

Cheers Thomas