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 Feb. 15, 2023, 6:21 a.m.