X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=kruskalwalliscommand.h;fp=kruskalwalliscommand.h;h=7e526137bc42daa1928c7e0988e1b52d546dbf2a;hb=013ef8f1507c29ef442e47eb3538ecdd1ef6ddef;hp=0000000000000000000000000000000000000000;hpb=2aa152a03b9efe77ecfbbd4e0e8e128f74724cc1;p=mothur.git diff --git a/kruskalwalliscommand.h b/kruskalwalliscommand.h new file mode 100644 index 0000000..7e52613 --- /dev/null +++ b/kruskalwalliscommand.h @@ -0,0 +1,42 @@ +/* + * File: kruskalwalliscommand.h + * Author: kiverson + * + * Created on June 26, 2012, 11:07 AM + */ + +#ifndef KRUSKALWALLISCOMMAND_H +#define KRUSKALWALLISCOMMAND_H + +#include "command.hpp" + +class KruskalWallisCommand : public Command { + +public: + + KruskalWallisCommand(string); + KruskalWallisCommand(); + ~KruskalWallisCommand(){} + + vector setParameters(); + string getCommandName() { return "kruskalwallis"; } + string getCommandCategory() { return "Hypothesis Testing"; } + string getOutputFileNameTag(string, 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."; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + multimap getRank(vector); + +private: + string outputDir; + vector counts; + vector rankSums; + vector rankMeans; + +}; + +#endif /* KRUSKALWALLISCOMMAND_H */ +