makeL: Matrix of branch lengths along root-to-tip paths

Description Usage Arguments Value Author(s) Examples

View source: R/makeL.R

Description

This function produces a n * m matrix, where n=number of tips and m=number of branches (i.e. n + number of nodes). Each row represents the branch lengths aligned along a root-to-tip path.

Usage

1
makeL(tree)

Arguments

tree

a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous.

Value

The function returns a n * m matrix of branch lengths for all root-to-tip paths in the tree (one per species).

Author(s)

Pasquale Raia, Silvia Castiglione, Carmela Serio, Alessandro Mondanaro, Marina Melchionna, Mirko Di Febbraro, Antonio Profico, Francesco Carotenuto

Examples

1
2
3
4
data("DataApes")
DataApes$Tstage->Tstage

makeL(tree=Tstage)

pasraia/RRphylo documentation built on Aug. 6, 2021, 9:42 p.m.