Class RankAssignment

java.lang.Object
edu.msu.cme.rdp.classifier.RankAssignment

public class RankAssignment extends Object
A RankAssignment holds the classification result of a sequence at one rank level.
  • Constructor Details

    • RankAssignment

      public RankAssignment(HierarchyTree t, float c)
      Creates new RankAssignment.
  • Method Details

    • 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

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

      public String getName()
      Returns the name of the assigned HierarchyTree.
    • getRank

      public String getRank()
      Returns the rank of the assigned HiearchyTree.
    • getTaxid

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