X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=counttable.h;h=51d0b4544bc73c7e832826bad702028f0143a549;hp=b66c4c6ef5e90007025935c4f0820cedb11c624d;hb=541bab1dac00688b4c3a8c4a95ab464412663c50;hpb=ea4f373c28543cd1002b0dd7dc6e55c526647d59 diff --git a/counttable.h b/counttable.h index b66c4c6..51d0b45 100644 --- a/counttable.h +++ b/counttable.h @@ -47,9 +47,11 @@ class CountTable { CountTable() { m = MothurOut::getInstance(); hasGroups = false; total = 0; uniques = 0; } ~CountTable() {} + //reads and creates smart enough to eliminate groups with zero counts int createTable(set&, map&, set&); //seqNames, seqName->group, groupNames int createTable(string, string, bool); //namefile, groupfile, createGroup - int readTable(string); + int readTable(string, bool); + int printTable(string); int printHeaders(ofstream&); int printSeq(ofstream&, string); @@ -60,6 +62,7 @@ class CountTable { int getNumGroups() { return groups.size(); } vector getNamesOfGroups() { return groups; } //returns group names, if no group info vector is blank. int addGroup(string); + int removeGroup(string); int renameSeq(string, string); //used to change name of sequence for use with trees int setAbund(string, string, int); //set abundance number of seqs for that group for that seq