Class RdmSelectTaxon
java.lang.Object
edu.msu.cme.rdp.classifier.train.validation.crossvalidate.RdmSelectTaxon
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RdmSelectTaxon
public RdmSelectTaxon()
-
-
Method Details
-
randomSelectTaxon
public static Set<String> randomSelectTaxon(File tax_file, File source_file, float fraction, String rank) throws IOException Random select taxa at given rank, and return all the sequence IDs assigned to the selected taxa.- Parameters:
tax_file
-source_file
-fraction
-rank
-- Returns:
- Throws:
IOException
-
main
- Throws:
Exception
-