ancestor_of: Tree Ancestry

View source: R/initialize_primers_tree.R

ancestor_ofR Documentation

Tree Ancestry

Description

Checks whether ancestor.node is an ancestor to the nodes specified in test.node.

Usage

ancestor_of(tree, ancestor.node, test.node)

Arguments

tree

The phylogenetic tree to be tested.

ancestor.node

A node to be checked for being an ancestor to test.node.

test.node

Possible descendants of ancestor.node.

Value

TRUE, if ancestor.node is an ancestor to any node in test.node.


matdoering/openPrimeR documentation built on July 4, 2025, 3:59 a.m.