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

View source: R/Utilities.R

ancestor_at_depthR Documentation

Find the ancestor of a node above a specific depth

Description

Find the ancestor of a node above a specific depth

Usage

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 June 14, 2024, 5:27 p.m.