branch_adjacency: Branch adjacency

Description Usage Arguments Value

View source: R/sorensen.r

Description

Produce a branch adjacency matrix (i.e., branch by node)

Usage

1
branch_adjacency(x, branch.lengths = !is.null(x$edge.length))

Arguments

x

Object of class phylo

branch.lengths

Logical; if true, the values of the adjacency matrix will be the branch lengths, otherwise they will be 1 or 0

Value

A branch by node adjacency matrix


mtalluto/mbmtools documentation built on Aug. 13, 2019, 9:44 a.m.