X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=phylosummary.h;h=4d3464f70472cdd2d2f8575934fcb96f6efbb3e5;hp=65a467483ddab1ae58757629644162dc83bab254;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=90708fe9701e3827e477c82fb3652539c3bf2a0d 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;