1 #ifndef HOMOVACOMMAND_H
2 #define HOMOVACOMMAND_H
8 * Created by westcott on 2/8/11.
9 * Copyright 2011 Schloss Lab. All rights reserved.
14 #include "command.hpp"
19 class HomovaCommand : public Command {
22 HomovaCommand(string);
26 vector<string> setParameters();
27 string getCommandName() { return "homova"; }
28 string getCommandCategory() { return "Hypothesis Testing"; }
29 string getHelpString();
32 void help() { m->mothurOut(getHelpString()); }
35 double runHOMOVA(ofstream& , map<string, vector<int> >, double);
36 double calcSigleSSWithin(vector<int>);
37 double calcBValue(map<string, vector<int> >, vector<double>&);
38 map<string, vector<int> > getRandomizedGroups(map<string, vector<int> >);
41 vector<string> outputNames;
43 string outputDir, inputDir, designFileName, phylipFileName;
45 vector< vector<double> > distanceMatrix;
47 double experimentwiseAlpha;