X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=venncommand.h;h=4762902c51d4f1195e8f3fc604b1781ddb1df39f;hp=f8151c1bdf0e3a547638639dfbf2aa5ac9f437ed;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=62f1ae1378c4c36175ec11fec8f70a3d2d26112e diff --git a/venncommand.h b/venncommand.h index f8151c1..4762902 100644 --- a/venncommand.h +++ b/venncommand.h @@ -11,35 +11,50 @@ #include "command.hpp" #include "inputdata.h" -#include "readmatrix.hpp" #include "sharedlistvector.h" #include "venn.h" - - -class GlobalData; - +#include "validcalculator.h" class VennCommand : public Command { public: + VennCommand(string); VennCommand(); - ~VennCommand(); - int execute(); + ~VennCommand() {} + + vector setParameters(); + string getCommandName() { return "venn"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Venn"; } + string getDescription() { return "generates a Venn diagram from data provided in a shared file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: - GlobalData* globaldata; - ReadMatrix* read; InputData* input; SharedListVector* SharedList; - SharedOrderVector* order; - OrderVector* ordersingle; Venn* venn; - string format; + vector vennCalculators; + vector lookup; + set< set > combos; + SAbundVector* sabund; + int abund, fontsize, perm; - void setGroups(); + bool abort, allLines, nseqs, sharedOtus; + set labels; //holds labels to be used + string format, groups, calc, label, outputDir, sharedfile, listfile, inputfile; + vector Estimators, Groups, outputNames; + + set< set > findCombinations(int); + int getCombos(set, set< set >&); + }; -#endif \ No newline at end of file +#endif