Class TaxonTree
java.lang.Object
edu.msu.cme.rdp.classifier.comparison.AbstractNode
edu.msu.cme.rdp.classifier.comparison.TaxonTree
- All Implemented Interfaces:
ComparisonBrowserNode,Taxon
-
Constructor Summary
ConstructorsConstructorDescriptionTaxonTree(int id, String name, String rank, AbstractNode p) Creates a new instance of TaxonTree -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddS1Score(Score s) protected voidaddS2Score(Score s) voidcalculate the count of sequences assigned to the node, only count the sequence with score for that node greater or equal to confidence cutoff valuefindNode(int id) returns a node with the given taxid if found.getDetailIterator(float conf) getName()getRank()intgetTaxid()Methods inherited from class edu.msu.cme.rdp.classifier.comparison.AbstractNode
getDoubleSignificance, getIndent, getLineageIterator, getS1Count, getS2Count, getSignificance, getTaxonIterator
-
Constructor Details
-
TaxonTree
Creates a new instance of TaxonTree
-
-
Method Details
-
getDetailIterator
- Specified by:
getDetailIteratorin interfaceComparisonBrowserNode- Specified by:
getDetailIteratorin classAbstractNode
-
getName
- Specified by:
getNamein interfaceTaxon- Specified by:
getNamein classAbstractNode
-
getRank
- Specified by:
getRankin interfaceTaxon- Specified by:
getRankin classAbstractNode
-
getTaxid
public int getTaxid()- Specified by:
getTaxidin interfaceTaxon- Specified by:
getTaxidin classAbstractNode
-
addChild
-
addS1Score
-
addS2Score
-
changeConfidence
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- Specified by:
changeConfidencein interfaceComparisonBrowserNode- Specified by:
changeConfidencein classAbstractNode
-
findNode
returns a node with the given taxid if found. returns null if not found.- Specified by:
findNodein interfaceComparisonBrowserNode- Specified by:
findNodein classAbstractNode
-