Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates the cophenetic distance on a network. The output can be used to find nodes with short distances to most nodes.
1 2 | ## S3 method for class 'haploNet'
cophenetic(x)
|
x |
an object of class |
The results of the function are likely to be approximate in most cases with reticulations in the network. In the case of MSTs, the results are exact.
a numeric matrix with colnames and rownames set to the labels of the network nodes.
Emmanuel Paradis
cophenetic.phylo
in ape,
cophenetic
for the generic function
1 2 3 | example(mst)
coph <- cophenetic(r)
rowSums(coph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.