wilkox / gggenes

➡️️➡️️⬅️️➡️️ Draw gene arrow maps in ggplot2
http://wilkox.org/gggenes
477 stars 49 forks source link

Nudge overlapping feature labels #43

Open khkk378 opened 2 years ago

khkk378 commented 2 years ago

Hi, and thanks for a great tool! We're using this to show genetic variants in a gene region. Since those tend to be clustered, it's common that the labels overlap. It would be greatly appreciated if you could add the option to draw them without overlap and then use slanted lines to the correct point.

Cheers, Rasmus

wilkox commented 2 years ago

Thanks for the suggestion @khkk378, I'll mark this as a feature request. At the moment this is not something ggfittext (which I use to draw the text labels) is able to do.