ggtree
ggtree copied to clipboard
Error: 'reroot' is not an exported object from 'namespace:ggtree'
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)
The reroot of ggtree has been replaced by the root (for treedata class) of treeio, you can refer to the chapter