ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

ggtree visualization different from dendroscope visualization

Open limin321 opened this issue 4 years ago • 1 comments

Prerequisites

Hi, I created a phylogenetic tree from whole genome ANI values 0f 300 strains. When I visualized the tree using ggtree, it had polytomy branches while it was opened in dendroscope, all branches were double lineages.

Does anyone have any suggestions what might cause this difference?

Really appreciate your help.

Best, Limin

limin321 avatar Sep 30 '20 21:09 limin321

I'm not super familiar with dendroscope, but it's possible that dendroscrope does not display the tree scaled by edge length. If there are really short edges in your tree they may appear as polytomies in ggtree. Try the following code which will make the branch lengths the same:

ggtree(tree, branch.length = 'none') 

brj1 avatar Oct 01 '20 17:10 brj1