You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While importing a tree made with iqtree that has the support values for alrt and ultrafast bootstrap at the nodes with the formating "Number1/Number2" using treeio:read.iqtree(), the data is imported correctly.
However, when rerooting using treeio::root(t, outgroup = "Reference tip", resolve.root = TRUE), the resulting tree loses the branch lengths, transforming into a cladogram.
t <- treeio::read.iqtree("iqtree_ufbandalrt.treefile") #unrooted tree
ggtree(t) #this one has a data section with ufb and alrt
tree_rooted <- treeio::root(t, outgroup = "Outgroup_tip_label", resolve.root = TRUE) #branch-lengths are gone
ggtree(tree_rooted) # cladogram
Removing "resolve root" does not alter the branch length loss.