Learn R Programming

RRphylo (version 2.8.0)

makeL1: Matrix of branch lengths along a root-to-node path

Description

This function produces a \(n * n\) matrix, where n=number of internal branches. Each row represents the branch lengths aligned along a root-to-node path.

Usage

makeL1(tree)

Value

The function returns a \(n * n\) matrix of branch lengths for all root-to-node paths (one per each node of the tree).

Arguments

tree

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

Author

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

Examples

Run this code
data("DataApes")
DataApes$Tstage->Tstage

makeL1(tree=Tstage)

Run the code above in your browser using DataLab