Package edu.msu.cme.rdp.classifier.train
Class Taxonomy
java.lang.Object
edu.msu.cme.rdp.classifier.train.Taxonomy
A Taxonomy holds the raw taxon information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeRank(String s) intgetDepth()Returns the depth of the current taxon from root taxon.Returns the hierarchy rank level.intReturns the taxID of the parent taxon.intgetTaxID()Returns the taxID.Returns the taxon name.voidsetDepth(int d)
-
Constructor Details
-
Taxonomy
Creates a new instance of Taxonomy
-
-
Method Details
-
getTaxID
public int getTaxID()Returns the taxID. -
getTaxName
Returns the taxon name. -
getParentID
public int getParentID()Returns the taxID of the parent taxon. -
getDepth
public int getDepth()Returns the depth of the current taxon from root taxon. -
getHierLevel
Returns the hierarchy rank level. -
setDepth
public void setDepth(int d) -
changeRank
-