View source: R/detectSingleRoot.R
detectSingleRoot | R Documentation |
This function returns TRUE if 'tree' is rooted on a single taxon, or FALSE if not
detectSingleRoot(tree, return_root)
tree |
Tree to check. Must be a rooted phylo object |
return_root |
OPTIONAL: If TRUE and tree is rooted on a single taxon, return that tip label; else return FALSE [Default: FALSE, don't return root label] |
TRUE if 'tree' is rooted on a single taxon; else, FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.