Package edu.msu.cme.rdp.classifier
Class ClassificationResult
java.lang.Object
edu.msu.cme.rdp.classifier.ClassificationResult
This class holds the classification results for a query sequence.
-
Constructor Summary
ConstructorsConstructorDescriptionClassificationResult(edu.msu.cme.rdp.readseq.readers.Sequence p, boolean reverse, List<RankAssignment> a, HierarchyVersion version) Creates a new instance of ClassificationResult. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of RankAssignments.Returns the version of the taxonomy hierarchy from of the training file.edu.msu.cme.rdp.readseq.readers.SequenceReturns the query sequenceintReturns the training set number of the taxonomy hierarchy from of the training file.boolean
-
Constructor Details
-
ClassificationResult
public ClassificationResult(edu.msu.cme.rdp.readseq.readers.Sequence p, boolean reverse, List<RankAssignment> a, HierarchyVersion version) Creates a new instance of ClassificationResult. This class holds the classification results for a query sequence.
-
-
Method Details
-
getSequence
public edu.msu.cme.rdp.readseq.readers.Sequence getSequence()Returns the query sequence -
getAssignments
Returns a list of RankAssignments. The assignments are returned in the order of taxonomic ranks, from the highest to the lowest. -
getTrainsetNo
public int getTrainsetNo()Returns the training set number of the taxonomy hierarchy from of the training file. -
getHierarchyTrainsetNo
Returns the version of the taxonomy hierarchy from of the training file. -
isReverse
public boolean isReverse()
-