PCMTreeLocateMidpointsOnBranches: Find the middle point of each branch longer than a threshold

View source: R/PCMTree.R

PCMTreeLocateMidpointsOnBranchesR Documentation

Find the middle point of each branch longer than a threshold

Description

Find the middle point of each branch longer than a threshold

Usage

PCMTreeLocateMidpointsOnBranches(tree, threshold = 0)

Arguments

tree

a phylo

threshold

a positive numeric; only branches longer than threshold will be returned; Default 0.

Value

a named list with an integer vector element "nodes" denoting the ending nodes for each branch crossing epoch and numeric vector element "positions" denoting the root-ward offset from each node in nodes.


venelin/PCMBase documentation built on March 14, 2024, 8:24 p.m.