X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=phylosummary.h;h=4d3464f70472cdd2d2f8575934fcb96f6efbb3e5;hb=f6a58db15cdc7b90a601f8bf9c9d3b69d642f85d;hp=65a467483ddab1ae58757629644162dc83bab254;hpb=6c2b1e530a5c0bb87040e58a3e410097acdfcc3d;p=mothur.git diff --git a/phylosummary.h b/phylosummary.h index 65a4674..4d3464f 100644 --- a/phylosummary.h +++ b/phylosummary.h @@ -33,27 +33,29 @@ struct rawTaxNode { class PhyloSummary { public: - PhyloSummary(GroupMap*); - PhyloSummary(string, GroupMap*); - PhyloSummary(CountTable*); - PhyloSummary(string, CountTable*); + PhyloSummary(GroupMap*, bool); + PhyloSummary(string, GroupMap*, bool); + PhyloSummary(CountTable*, bool); + PhyloSummary(string, CountTable*, bool); ~PhyloSummary() {} int summarize(string); //pass it a taxonomy file and a group file and it makes the tree int addSeqToTree(string, string); int addSeqToTree(string, map); void print(ofstream&); + void print(ofstream&, bool); int getMaxLevel() { return maxLevel; } private: string getNextTaxon(string&); vector tree; void print(int, ofstream&); + void print(int, ofstream&, bool); void assignRank(int); void readTreeStruct(ifstream&); GroupMap* groupmap; CountTable* ct; - bool ignore; + bool ignore, relabund; int numNodes; int numSeqs;