ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

Error: 'reroot' is not an exported object from 'namespace:ggtree'

Open clementcoclet opened this issue 3 years ago • 1 comments
trafficstars

I installed ggtree and ggplot using:

devtools::install_github(c("hadley/ggplot2", "GuangchuangYu/ggtree"))

But I still have this error:

Error: 'reroot' is not an exported object from 'namespace:ggtree'

When I try to lunch th command:

tree2 <- ggtree::reroot(tree, 101) plot(tree2)

clementcoclet avatar Nov 23 '21 22:11 clementcoclet

The reroot of ggtree has been replaced by the root (for treedata class) of treeio, you can refer to the chapter

xiangpin avatar Nov 24 '21 01:11 xiangpin