]> git.donarmstrong.com Git - mothur.git/blobdiff - matrixoutputcommand.h
fixed cluster.split with average method
[mothur.git] / matrixoutputcommand.h
index 547b567c62e67c01d2dcce2b4cd573c5ad1c08bc..537f7916299d36c7f628a9e7e6974821746f3b12 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,13 +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*>);
+       int process(vector<SharedRAbundVector*>);
        
        GlobalData* globaldata;
        ReadOTUFile* read;
@@ -39,9 +42,14 @@ private:
        InputData* input;
        ValidCalculators* validCalculator;
        vector<SharedRAbundVector*> lookup;
-       string exportFileName;
+       string exportFileName, output;
        int numGroups;
        ofstream out;
+
+       bool abort, allLines;
+       set<string> labels; //holds labels to be used
+       string outputFile, calc, groups, label, outputDir;
+       vector<string>  Estimators, Groups, outputNames; //holds estimators to be used
        
 
 };