*/
#include "command.hpp"
+#include "fullmatrix.h"
+#include "libshuff.h"
-using namespace std;
class GlobalData;
class LibShuffCommand : public Command {
- public:
- LibShuffCommand();
- ~LibShuffCommand();
- int execute();
+public:
+ LibShuffCommand(string);
+ LibShuffCommand();
+ ~LibShuffCommand(){};
+ vector<string> getRequiredParameters();
+ vector<string> getValidParameters();
+ vector<string> getRequiredFiles();
+ map<string, vector<string> > getOutputFiles() { return outputTypes; }
+ int execute();
+ void help();
+
+private:
+ vector<string> groupNames;
- private:
- GlobalData* globaldata;
-
+ void setGroups();
+ int printCoverageFile();
+ int 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, outputDir;
+ vector<string> Groups, outputNames; //holds groups to be used
+ map<string, vector<string> > outputTypes;
};
#endif