X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=libshuffcommand.h;h=1c8fbc4da656bf5c4240c1be8cb4a7843b3ac72c;hb=9946a1b4b50969d08ce059b248bdeecafbf989ac;hp=b2474c52e4ea1188c042550033f6e27581a6f4a3;hpb=42b802c0006d8b13bd5b27ea48d032a85d3f2102;p=mothur.git diff --git a/libshuffcommand.h b/libshuffcommand.h index b2474c5..1c8fbc4 100644 --- a/libshuffcommand.h +++ b/libshuffcommand.h @@ -11,43 +11,40 @@ */ #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 groupNames; - private: - vector< vector > cValues; // vector of coverage scores, one for each comparison. - vector deltaValues; // vector of delta scores, one for each comparison. - vector sumDelta; //sum of delta scores, one for each comparison. - vector sumDeltaSig; //number of random matrixes with that delta value or ?? - vector< vector > rsumDelta; //vector< vector > - vector groupComb; - - - void setGroups(); - int findIndex(float, int); - void printCoverageFile(float); - void printSummaryFile(); - - GlobalData* globaldata; - Coverage* coverage; - FullMatrix* matrix; - float cutOff; - int numGroups, numComp, iters; - string coverageFile, summaryFile; - ofstream out, outSum; - - + void setGroups(); + int printCoverageFile(); + int printSummaryFile(); + + GlobalData* globaldata; + FullMatrix* matrix; + Libshuff* form; + float cutOff, step; + int numGroups, numComp, iters; + string coverageFile, summaryFile; + vector > pValueCounts; + vector > savedDXYValues; + vector > > savedMinValues; + + bool abort; + string outputFile, groups, userform, savegroups, outputDir; + vector Groups, outputNames; //holds groups to be used }; #endif