X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=indicatorcommand.h;h=aa3156298a1a729f416bb793e60b7739c39843d1;hb=cd7040a22ae19c86a13c2c10ed90a64b77a0c482;hp=00694bea297688fc57804fc4ab41b61287e798d0;hpb=b1d143351bcd1b3b4a06ec525c386f161579ee32;p=mothur.git diff --git a/indicatorcommand.h b/indicatorcommand.h index 00694be..aa31562 100644 --- a/indicatorcommand.h +++ b/indicatorcommand.h @@ -28,7 +28,7 @@ public: string getCommandCategory() { return "Hypothesis Testing"; } string getHelpString(); string getCitation() { return "Dufrene M, Legendre P (1997). Species assemblages and indicator species: The need for a flexible asymmetrical approach. Ecol Monogr 67: 345-66.\n 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/Indicator"; } - string getDescription() { return "calculate the indicator value for each OTU for each tree node"; } + string getDescription() { return "calculate the indicator value for each OTU"; } int execute(); void help() { m->mothurOut(getHelpString()); } @@ -39,6 +39,7 @@ private: GroupMap* designMap; string treefile, sharedfile, relabundfile, groups, label, inputFileName, outputDir, designfile; bool abort; + int iters; vector outputNames, Groups; vector lookup; vector lookupFloat; @@ -46,10 +47,13 @@ private: int getShared(); int getSharedFloat(); int GetIndicatorSpecies(Tree*&); + int GetIndicatorSpecies(); set getDescendantList(Tree*&, int, map >, map >&); - vector getValues(vector< vector >&); - vector getValues(vector< vector >&); + vector getValues(vector< vector >&, map< vector, vector >); + vector getValues(vector< vector >&, map< vector, vector >); map getDistToRoot(Tree*&); + map< vector, vector > randomizeGroupings(vector< vector >&, int); + map< vector, vector > randomizeGroupings(vector< vector >&, int); };