X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=amovacommand.h;h=d9fe1e6fe7e941c89ed65ffafce0f0ad2cc72c61;hb=0486bc2eed084ac387d2f59b6d23d13b2382daf7;hp=3b90b967437df2c0ad360675fc89537976dce989;hpb=095a4c7aed0cf5ef79eaf28f0d79d3aa51c2811e;p=mothur.git diff --git a/amovacommand.h b/amovacommand.h index 3b90b96..d9fe1e6 100644 --- a/amovacommand.h +++ b/amovacommand.h @@ -32,32 +32,39 @@ public: void help(); private: - struct linePair { - int start; - int num; - linePair(int i, int j) : start(i), num(j) {} - }; - vector lines; + double runAMOVA(ofstream&, map >, double); + double calcSSWithin(map >&); + double calcSSTotal(map >&); + map > getRandomizedGroups(map >); + + bool abort; GlobalData* globaldata; - GroupMap* designMap; map > outputTypes; + vector outputNames; + + string outputDir, inputDir, designFileName, phylipFileName; + GroupMap* designMap; + vector< vector > distanceMatrix; + int iters; + double experimentwiseAlpha; - vector< vector > matrix; - bool abort, allLines, pickedGroups; - set labels; //holds labels to be used - string format, groups, label, outputDir, inputDir, designfile, sets, phylipfile, calc, sharedfile; - vector Groups, outputNames, Sets; - vector< vector > namesOfGroupCombos; - int iters, processors; - vector calculators; - - int driver(int, int, vector, string); - int driver(int, int, vector, string, vector< vector >&); - int process(vector); - int calcAmova(ofstream&, int, vector); - double calcWithin(vector< vector >&, int, vector); - double calcTotal(int); +// struct linePair { +// int start; +// int num; +// linePair(int i, int j) : start(i), num(j) {} +// }; +// vector lines; +// +// vector< vector > namesOfGroupCombos; +// vector Groups, outputNames, Sets; +// int processors; +// string groups, sets, calc, sharedfile, label, allLines, pickedGroups; +// vector calculators; +// set labels; //holds labels to be used +// int driver(int, int, vector, string); +// int driver(int, int, vector, string, vector< vector >&); +// int process(vector); }; #endif