edu.msu.cme.rdp.classifier.rrnaclassifier
Class RankAssignment

java.lang.Object
  extended by edu.msu.cme.rdp.classifier.rrnaclassifier.RankAssignment

public class RankAssignment
extends java.lang.Object

A RankAssignment holds the classification result of a sequence at one rank level.


Field Summary
private  HierarchyTree bestClass
           
private  float confidence
           
 
Constructor Summary
RankAssignment(HierarchyTree t, float c)
          Creates new RankAssignment.
 
Method Summary
(package private)  HierarchyTree getBestClass()
          Returns the HierarchyTree which the query sequence is assigned to.
 float getConfidence()
          Returns the estimate of confidence of the assignment.
 java.lang.String getName()
          Returns the name of the assigned HierarchyTree.
 java.lang.String getRank()
          Returns the rank of the assigned HiearchyTree.
 int getTaxid()
          Returns the taxid of the assigned HierachyTree
(package private)  void setConfidence(float f)
          Set the confidence of the assignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bestClass

private HierarchyTree bestClass

confidence

private float confidence
Constructor Detail

RankAssignment

RankAssignment(HierarchyTree t,
               float c)
Creates new RankAssignment.

Method Detail

getConfidence

public float getConfidence()
Returns the estimate of confidence of the assignment. The number of times a taxon was selected out of the total number of bootstrap trials was used as an estimate of confidence in the assignment to that treenode.


getBestClass

HierarchyTree getBestClass()
Returns the HierarchyTree which the query sequence is assigned to.


getName

public java.lang.String getName()
Returns the name of the assigned HierarchyTree.


getRank

public java.lang.String getRank()
Returns the rank of the assigned HiearchyTree.


getTaxid

public int getTaxid()
Returns the taxid of the assigned HierachyTree


setConfidence

void setConfidence(float f)
Set the confidence of the assignment.