public final class DistanceTool
extends java.lang.Object
Constructor | Description |
---|---|
DistanceTool() |
Modifier and Type | Method | Description |
---|---|---|
static DistanceMatrix |
constructEvolutionaryDistances(Alignment a,
SubstitutionModel sm) |
Construct a distance matrix object such that the distance between sequence A, and sequence B, is the
evolutionary distance by a given substitution model.
|
public static final DistanceMatrix constructEvolutionaryDistances(Alignment a, SubstitutionModel sm)
a
- The aligned set of sequences. The resulting distance matrix has defines a distance between each and every sequence in the input alignment to every other sequence.sm
- The model under which the maximum likelihood calculation is done. The model is not optimised.