annotate.growth: Add the growth information onto the known tree.

View source: R/tree-setup.R

annotate.growthR Documentation

Add the growth information onto the known tree.

Description

Add the growth information onto the known tree.

Usage

annotate.growth(phy, ptree)

Arguments

phy:

ape::phylo object. Return value of extend.tree().

ptree:

ape::phylo object. A tree generated by pplacer with a newly added tip placed by maximum likelihood.

Value

data.table. The growth.info for a given tree. This includes the branch length to the newly added terminal node, whether or not the neighbour to the newly added terminal node is also terminal, and the branch length to that neighbour, from the newly placed internal node (the "PendantLength")


PoonLab/clustuneR documentation built on Jan. 29, 2024, 2:40 a.m.