public class DistanceTreeEvaluator extends Object
Modifier and Type | Method and Description |
---|---|
static double |
evaluate(org.forester.phylogeny.Phylogeny tree,
org.forester.evoinference.matrix.distance.DistanceMatrix matrix)
Evaluate the goodness of fit of a given tree to the original distance
matrix.
|
public static double evaluate(org.forester.phylogeny.Phylogeny tree, org.forester.evoinference.matrix.distance.DistanceMatrix matrix)
This measure can also give an estimate of the quality of the distance matrix, because a bad fit may mean that the distance is non-additive.
tree
- Phylogenetic Distance Tree to evaluatematrix
- Distance Matrix with the original distancesCopyright © 2000–2018 BioJava. All rights reserved.