powered by
This function calculates the cophenetic distance on a network. The output can be used to find nodes with short distances to most nodes.
# S3 method for haploNet cophenetic(x)
a numeric matrix with colnames and rownames set to the labels of the network nodes.
an object of class "haploNet".
"haploNet"
Emmanuel Paradis
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.
cophenetic.phylo in ape, cophenetic for the generic function
cophenetic.phylo
cophenetic
example(mst) coph <- cophenetic(r) rowSums(coph)
Run the code above in your browser using DataLab