Learn R Programming

phangorn (version 2.8.1)

cophenetic.networx: Pairwise Distances from a Phylogenetic Network

Description

cophenetic.networx computes the pairwise distances between the pairs of tips from a phylogenetic network using its branch lengths.

Usage

# S3 method for networx
cophenetic(x)

Arguments

x

an object of class networx.

Value

an object of class dist, names are set according to the tip labels (as given by the element tip.label of the argument x).

See Also

cophenetic for the generic function, neighborNet to construct a network from a distance matrix