public class TaxonTree extends AbstractNode
Constructor and Description |
---|
TaxonTree(int id,
java.lang.String name,
java.lang.String rank,
AbstractNode p)
Creates a new instance of TaxonTree
|
Modifier and Type | Method and Description |
---|---|
protected void |
addChild(AbstractNode n) |
protected void |
addS1Score(Score s) |
protected void |
addS2Score(Score s) |
void |
changeConfidence(SigCalculator cal)
calculate the count of sequences assigned to the node, only count
the sequence with score for that node greater or equal to confidence
cutoff value
|
ComparisonBrowserNode |
findNode(int id)
returns a node with the given taxid if found.
|
java.util.Iterator |
getDetailIterator(float conf) |
java.lang.String |
getName() |
java.lang.String |
getRank() |
int |
getTaxid() |
getDoubleSignificance, getIndent, getLineageIterator, getS1Count, getS2Count, getSignificance, getTaxonIterator
public TaxonTree(int id, java.lang.String name, java.lang.String rank, AbstractNode p)
public java.util.Iterator getDetailIterator(float conf)
getDetailIterator
in interface ComparisonBrowserNode
getDetailIterator
in class AbstractNode
public java.lang.String getName()
getName
in interface Taxon
getName
in class AbstractNode
public java.lang.String getRank()
getRank
in interface Taxon
getRank
in class AbstractNode
public int getTaxid()
getTaxid
in interface Taxon
getTaxid
in class AbstractNode
protected void addChild(AbstractNode n)
protected void addS1Score(Score s)
protected void addS2Score(Score s)
public void changeConfidence(SigCalculator cal)
changeConfidence
in interface ComparisonBrowserNode
changeConfidence
in class AbstractNode
public ComparisonBrowserNode findNode(int id)
findNode
in interface ComparisonBrowserNode
findNode
in class AbstractNode