]> git.donarmstrong.com Git - mothur.git/blobdiff - phylosummary.h
fixes while testing 1.33.0
[mothur.git] / phylosummary.h
index 65a467483ddab1ae58757629644162dc83bab254..4d3464f70472cdd2d2f8575934fcb96f6efbb3e5 100644 (file)
@@ -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<string, bool>);
        void print(ofstream&);
+    void print(ofstream&, bool);
        int getMaxLevel() { return maxLevel; }
        
 private:
        string getNextTaxon(string&);
        vector<rawTaxNode> 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;