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)
an object of class "haploNet".
"haploNet"
a numeric matrix with colnames and rownames set to the labels of the network nodes.
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
# NOT RUN { example(mst) coph <- cophenetic(r) rowSums(coph) # }
Run the code above in your browser using DataLab