R: Pairwise Distances from a Phylogenetic Network

cophenetic.networx {phangorn} | R Documentation

## 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 class '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`).

### Author(s)

Klaus Schliep

### See Also

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

[Package phangorn version 2.6.2 Index]