getBranchLengths: Make branch length vector

Description Usage Arguments Value

View source: R/treeda-functions.R

Description

Gets the branch lengths of the tree, with order the same as the columns in makeDescendantMatrix.

Usage

1

Arguments

tree

A tree object of class phylo

Value

A vector of length ntips + nnodes, with ith element giving the length of the branch above node i.


jfukuyama/treeDA documentation built on May 18, 2021, 8:52 a.m.