Package | Description |
---|---|
Likelihood |
Provides classes for calculating the likelihood of a tree given a model and
an alignment.
|
Trees |
Provides classes to define a tree.
|
Modifier and Type | Method and Description |
---|---|
SquareMatrix |
Probabilities.RateProbabilities.getP(Branch b)
Gets the probability matrix for a single branch
|
double |
Probabilities.RateProbabilities.getP(Branch b,
java.lang.String startState,
java.lang.String endState)
Gets the probability of a single transition on a single branch
|
Modifier and Type | Method and Description |
---|---|
Branch |
Tree.getBranchByChild(java.lang.String child)
Gets the branch which has the given node as the child node
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Branch> |
Tree.getBranches()
Gets a list of branches.
|
java.util.Set<Branch> |
Tree.getBranchesByParent(java.lang.String parent)
Gets the set of branches which have the passed node as a parent
|
java.util.List<Branch> |
Tree.getBranchesReversed()
Gets the branches in the reverse order to that returned by
Tree.getBranches() . |
java.util.Iterator<Branch> |
Tree.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
Tree.isExternal(Branch b)
Tests whether the given branch is an external branch (i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeFigure.setBranchColors(java.util.Map<Branch,java.lang.String> colors)
Sets the colour of branches.
|
Constructor and Description |
---|
Tree(java.util.List<Branch> branches)
Creates a tree from a list of branches
|