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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.