detectSingleRoot: Rboreturm Single Root Checker

View source: R/detectSingleRoot.R

detectSingleRootR Documentation

Rboreturm Single Root Checker

Description

This function returns TRUE if 'tree' is rooted on a single taxon, or FALSE if not

Usage

detectSingleRoot(tree, return_root)

Arguments

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]

Value

TRUE if 'tree' is rooted on a single taxon; else, FALSE


BobLiterman/Rboretum documentation built on July 6, 2023, 7:46 p.m.