]> git.donarmstrong.com Git - mothur.git/blobdiff - counttable.h
added count file to cluster.classic and cluster.split. modified splitting classes...
[mothur.git] / counttable.h
index 8c970199babf9d45f3a624d3456d39732fc3e5e2..8baff3080a5f5124214e0b6b6834a899b356f0f9 100644 (file)
@@ -37,6 +37,7 @@
 
 
 #include "mothurout.h"
+#include "listvector.hpp"
 
 class CountTable {
     
@@ -59,6 +60,10 @@ class CountTable {
         int getNumUniqueSeqs() { return uniques; } //return number of unique/representative seqs
         int getGroupIndex(string); //returns index in getGroupCounts vector of specific group
         vector<string> getNamesOfSeqs();
+        int mergeCounts(string, string); //combines counts for 2 seqs, saving under the first name passed in.
+        int get(string); //returns unique sequence index for reading distance matrices like NameAssignment
+        ListVector getListVector();
+        int size() { return indexNameMap.size(); }
     
     private:
         string filename;