S
- each Sequence
in the tree is of type SC
- each element of a Sequence
is a Compound
of type Cpublic class GuideTree<S extends Sequence<C>,C extends Compound> extends Object implements Iterable<GuideTreeNode<S,C>>
GuideTree.Node
s correspond to single Sequence
s. Internal GuideTree.Node
s correspond to multiple sequence
alignments. The root GuideTree.Node
corresponds to the full multiple sequence alignment.Modifier and Type | Class and Description |
---|---|
class |
GuideTree.Node
Implements a data structure for the node in a guide tree used during progressive multiple sequence alignment.
|
Constructor and Description |
---|
GuideTree(List<S> sequences,
List<PairwiseSequenceScorer<S,C>> scorers)
Creates a guide tree for use during progressive multiple sequence alignment.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getAllPairsScores()
|
double[][] |
getDistanceMatrix()
Returns the distance matrix used to construct this guide tree.
|
GuideTree.Node |
getRoot()
Returns the root
GuideTree.Node which corresponds to the full multiple sequence alignment. |
double[][] |
getScoreMatrix()
Returns the similarity matrix used to construct this guide tree.
|
List<S> |
getSequences()
Returns the
Sequence s which make up the leaves of this tree. |
Iterator<GuideTreeNode<S,C>> |
iterator()
Returns a post-order
Iterator that traverses the tree from leaves to root. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public double[] getAllPairsScores()
public double[][] getDistanceMatrix()
public GuideTree.Node getRoot()
GuideTree.Node
which corresponds to the full multiple sequence alignment.public double[][] getScoreMatrix()
public List<S> getSequences()
Sequence
s which make up the leaves of this tree.public Iterator<GuideTreeNode<S,C>> iterator()
Iterator
that traverses the tree from leaves to root.Copyright © 2000–2018 BioJava. All rights reserved.