R: Computes a neighborNet from a distance matrix

neighborNet {phangorn} | R Documentation

## Computes a neighborNet from a distance matrix

### Description

Computes a neighborNet, i.e. an object of class `networx` from a distance matrix.

### Usage

    neighborNet(x, ord = NULL)

### Arguments

`x` | a distance matrix.
`ord` | a circular ordering.

### Details

`neighborNet` is still experimental. The cyclic ordering sometimes differ from the SplitsTree implementation, the ord argument can be used to enforce a certain circular ordering.

### Value

`neighborNet` returns an object of class networx.

### Author(s)

Klaus Schliep klaus.schliep@gmail.com

### References

Bryant, D. & Moulton, V. (2004) Neighbor-Net: An Agglomerative Method for the Construction of Phylogenetic Networks. Molecular Biology and Evolution, 2004, 21, 255-265

### See Also

`splitsNetwork`, `consensusNet`, `plot.networx`, `lento`, `cophenetic.networx`, `distanceHadamard`

### Examples

    data(yeast)
    dm <- dist.ml(yeast)
    nnet <- neighborNet(dm)
    plot(nnet, "2D")

[Package phangorn version 2.6.2 Index]