X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=pcoacommand.h;h=29957f1140e81517cc5a244a696eba7aaf1db49a;hp=02e562ec23f97d1fdbd0e6e18c949ae3ffc44c54;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=d04f948b1a2a1a2984fc4a45d04403b8c121c5bc diff --git a/pcoacommand.h b/pcoacommand.h index 02e562e..29957f1 100644 --- a/pcoacommand.h +++ b/pcoacommand.h @@ -20,24 +20,28 @@ class PCOACommand : public Command { public: PCOACommand(string); PCOACommand(); - ~PCOACommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~PCOACommand(){} + + vector setParameters(); + string getCommandName() { return "pcoa"; } + string getCommandCategory() { return "Hypothesis Testing"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "McCune B, Grace JB, Urban DL (2002). Analysis of ecological communities. MjM Software Design: Gleneden Beach, OR. \nLegendre P, Legendre L (1998). Numerical Ecology. Elsevier: New York. \nhttp://www.mothur.org/wiki/Pcoa"; } + string getDescription() { return "pcoa"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: bool abort, metric; string phylipfile, filename, fbase, outputDir; vector outputNames; - map > outputTypes; LinearAlgebra linearCalc; void get_comment(istream&, char, char); - void recenter(double, vector >, vector >&); void output(string, vector, vector >&, vector); };