]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.h
fixed bug in hcluster command
[mothur.git] / matrixoutputcommand.h
index 04d0ccbf8e46145591acca443d37039809da88d0..02e8fe6b4cb75351fadfc5a503b78ed6bd589a7d 100644 (file)
 #include "readotu.h"
 #include "validcalculator.h"
 
+// aka. dist.shared()
+
 /* This command create a tree file for each similarity calculator at distance level, using various calculators to find the similiarity between groups. 
-       The user can select the lines or labels they wish to use as well as the groups they would like included.
+       The user can select the labels they wish to use as well as the groups they would like included.
        They can also use as many or as few calculators as they wish. */
        
 class GlobalData;
@@ -24,12 +26,14 @@ class GlobalData;
 class MatrixOutputCommand : public Command {
        
 public:
-       MatrixOutputCommand();  
+       MatrixOutputCommand(string);    
        ~MatrixOutputCommand();
        int execute();  
+       void help();
        
 private:
        void printSims(ostream&);
+       void process(vector<SharedRAbundVector*>);
        
        GlobalData* globaldata;
        ReadOTUFile* read;
@@ -42,6 +46,12 @@ private:
        int numGroups;
        ofstream out;
 
+       bool abort, allLines;
+       set<string> labels; //holds labels to be used
+       string outputFile, calc, groups, label;
+       vector<string>  Estimators, Groups; //holds estimators to be used
+       
+
 };