isCladeSupport: Rboretum Clade Support Checker

View source: R/isCladeSupport.R

isCladeSupportR Documentation

Rboretum Clade Support Checker

Description

This function returns TRUE if all the clades in 'tree' are present in the clade comparsion output from getTreeClades(return_counts=TRUE); otherwise, FALSE

Usage

isCladeSupport(test_object, tree, partial)

Arguments

test_object

R object to check

tree

Check that passed support object contains information about a specific set of trees. Options include:

  • A rooted phylo object; or,

  • A named, rooted multiPhylo object where all trees share 3+ taxa

partial

OPTIONAL: If TRUE, as long as all clades from 'tree' are present, return TRUE [Default: FALSE, require that 'tree' also includes all clades in support object]

Value

TRUE if output of getTreeClades(tree,return_count=TRUE); otherwise, FALSE


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