]> git.donarmstrong.com Git - mothur.git/blobdiff - libshuffcommand.h
added check for blank files in openInputFile, add check for groupfiles that contain...
[mothur.git] / libshuffcommand.h
index 950bb00809a6ba0371906269f9c4804b02c9a0fa..1e5726dd770f928b62ca8ef07fa3c24150c0a8b5 100644 (file)
  */
 
 #include "command.hpp"
-#include "coverage.h"
 #include "fullmatrix.h"
+#include "libshuff.h"
 
-using namespace std;
 
 class GlobalData;
 
 class LibShuffCommand : public Command {
        
-       public:
-               LibShuffCommand();      
-               ~LibShuffCommand();
-               int execute();  
+public:
+       LibShuffCommand(string);        
+       ~LibShuffCommand(){};
+       int execute();
+       void help();    
+
+private:
+       vector<string> groupNames;
        
-       private:
-               vector< vector< vector<float> > > cValues; // vector<vector of coverage scores, one for each comparison.> -one for each distance level.
-               vector< vector<float> > deltaValues; // vector< vector of delta scores, one for each comparison.> -one at each distance
-               vector<float> sumDelta; //sum of delta scores, one for each comparison.
-               vector<float> sumDeltaSig; //number of random  matrixes with that delta value or ??
-               vector< vector<float> > rsumDelta; //vector< vector<sumdelta scores for a given comparison> >
-               vector<string> groupComb;
-               vector<float> dist;
-               
-               
-               void setGroups();
-               int findIndex(float, int);
-               void printCoverageFile();
-               void printSummaryFile();
-
-               GlobalData* globaldata;
-               Coverage* coverage;
-               FullMatrix* matrix;
-               float cutOff, step;
-               int numGroups, numComp, iters;
-               string coverageFile, summaryFile, form;
-               ofstream out, outSum;
-                               
-               
+       void setGroups();
+       void printCoverageFile();
+       void printSummaryFile();
+
+       GlobalData* globaldata;
+       FullMatrix* matrix;
+       Libshuff* form;
+       float cutOff, step;
+       int numGroups, numComp, iters;
+       string coverageFile, summaryFile;
+       vector<vector<int> > pValueCounts;
+       vector<vector<double> > savedDXYValues;
+       vector<vector<vector<double> > > savedMinValues;
+
+       bool abort;
+       string outputFile, groups, userform, savegroups;
+       vector<string> Groups; //holds groups to be used
 };
 
 #endif