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 TypeMethodDescriptionvoid
changeRank
(String s) int
getDepth()
Returns the depth of the current taxon from root taxon.Returns the hierarchy rank level.int
Returns the taxID of the parent taxon.int
getTaxID()
Returns the taxID.Returns the taxon name.void
setDepth
(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
-