getChildLeftRight: Left and right child of a node

View source: R/summaryStatistics.R

getChildLeftRightR Documentation

Left and right child of a node

Description

The left children is the node the further from the root, the right children is the closest to the root. If node is a tip returns NA.

Usage

getChildLeftRight(phylo, i)

Arguments

phylo

phylogeny (ape format)

i

node index

Value

list

  • $left: node left child

  • $right: node right child


ilajaait/deephylo documentation built on April 10, 2022, 11:03 a.m.