]> git.donarmstrong.com Git - mothur.git/blobdiff - tree.h
fixed concensus command and modified tree class so you can print labels on trees
[mothur.git] / tree.h
diff --git a/tree.h b/tree.h
index cbbad667cbe1c27842ef088f8538efc9b084bc66..8b77d3ddbed48dddb5de57dfa44394118c7a1920 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -35,6 +35,7 @@ public:
        map<string, int> mergeUserGroups(int, vector<string>);  //returns a map with a groupname and the number of times that group was seen in the children
        void printTree();
        void print(ostream&);
+       void printForBoot(ostream&);
        
        //this function takes the leaf info and populates the non leaf nodes
        void assembleTree();            
@@ -55,7 +56,7 @@ private:
        void randomLabels(vector<string>);
        void randomLabels(string, string);
        int findRoot();  //return index of root node
-       void printBranch(int, ostream&);  //recursively print out tree
+       void printBranch(int, ostream&, string);  //recursively print out tree
 };
 
 #endif