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
Hi,
I am using the most updated ggtree.
When I tried to zoom in to specific clade using getsubtree, it is said the function not found.
I am wondering whether there is any requirement I missed using installation.
Thanks!
The problem is that getSubtree() is not an exported function so you normally can't access it:
> getAnywhere(getSubtree)
A single object matching ‘getSubtree’ was found
It was found in the following places
namespace:ggtree
with value
function (tree, node)
{
tidytree::offspring(tree, node, self_include = TRUE)
}
<bytecode: 0x000001a5d83b20c0>
<environment: namespace:ggtree>
One way to use it anyways would be:
> ggtree:::getSubtree()
Alternatively, you could also use the offspring() function from the tidytree package with self_include = TRUE.
Hi,
I am using the most updated ggtree.
When I tried to zoom in to specific clade using getsubtree, it is said the function not found.
I am wondering whether there is any requirement I missed using installation.
Thanks!
Prerequisites
Describe you issue
Ask in right place
The text was updated successfully, but these errors were encountered: