X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=kruskalwalliscommand.h;h=feefebd58fdb5650f41e9642a63e6dc68d011a24;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=e3bf100bd2c8b468701f4aaee17c3807758d3f56;hpb=8e67e9de1b200106bea5a468ac02125954656499;p=mothur.git diff --git a/kruskalwalliscommand.h b/kruskalwalliscommand.h index e3bf100..feefebd 100644 --- a/kruskalwalliscommand.h +++ b/kruskalwalliscommand.h @@ -9,6 +9,8 @@ #define KRUSKALWALLISCOMMAND_H #include "command.hpp" +#include "inputdata.h" +#include "sharedrabundvector.h" class KruskalWallisCommand : public Command { @@ -22,7 +24,7 @@ public: vector setParameters(); string getCommandName() { return "kruskalwallis"; } string getCommandCategory() { return "Hypothesis Testing"; } - string getOutputFileNameTag(string, string); + string getOutputPattern(string); string getHelpString(); string getCitation() { return "http://www.mothur.org/wiki/kruskalwallis"; } string getDescription() { return "Non-parametric method for testing whether samples originate from the same distribution."; } @@ -36,11 +38,14 @@ public: int execute(); void help() { m->mothurOut(getHelpString()); } void assignRank(vector&); + void assignValue(vector&); private: - string outputDir; + string outputDir, sharedfile, groups; bool abort; + set labels; + vector outputNames, Groups; vector counts; vector rankSums; vector rankMeans;