8 * Created by westcott on 2/7/11.
9 * Copyright 2011 Schloss Lab. All rights reserved.
13 #include "command.hpp"
16 class AmovaCommand : public Command {
23 vector<string> setParameters();
24 string getCommandName() { return "amova"; }
25 string getCommandCategory() { return "Hypothesis Testing"; }
26 string getHelpString();
29 void help() { m->mothurOut(getHelpString()); }
32 double runAMOVA(ofstream&, map<string, vector<int> >, double);
33 double calcSSWithin(map<string, vector<int> >&);
34 double calcSSTotal(map<string, vector<int> >&);
35 map<string, vector<int> > getRandomizedGroups(map<string, vector<int> >);
38 vector<string> outputNames;
40 string outputDir, inputDir, designFileName, phylipFileName;
42 vector< vector<double> > distanceMatrix;
44 double experimentwiseAlpha;