ancestor_at_depth: Find the ancestor of a node above a specific depth

Description Usage Arguments Value

View source: R/Utilities.R

Description

Find the ancestor of a node above a specific depth

Usage

1
ancestor_at_depth(tree, node, depth)

Arguments

tree

an object of class phylo

node

the index of the node

depth

the depth to search to

Value

the index of the ancestor node


YosefLab/VISION documentation built on Sept. 14, 2021, 5:27 p.m.