ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

Feature request: extend short branches with dotted lines to make topology visible

Open taprs opened this issue 11 months ago • 0 comments
trafficstars

Hi and thanks for the nice tool that I use for most tree visualization tasks!

One application I am struggling with a lot is showing a tree with very short branches, communicating both topology and branch lengths at once. For this purpose, I very much like ETE's way of "extending" short branches with dotted lines to make them visible (and sometimes to avoid overlaps with node labels):

image

Is it something you would be willing to implement with ggtree? I think the minimal implementation could simply let the user decide on the minimal visible branch length, shorter branches to be padded to it with dotted lines. The non-overlapping support values is more of a luxury ;)

Cheers, Nikita

taprs avatar Nov 26 '24 13:11 taprs