X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.h;h=a5b45468d7059ad2c9e8877376c0154102d05316;hb=e98d569d630c30d1ac3608eb6337bcec4765a724;hp=2112e8d78565712a490de69bedd2ffb44844a768;hpb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;p=mothur.git diff --git a/rarefactsharedcommand.h b/rarefactsharedcommand.h index 2112e8d..a5b4546 100644 --- a/rarefactsharedcommand.h +++ b/rarefactsharedcommand.h @@ -25,6 +25,7 @@ public: vector setParameters(); string getCommandName() { return "rarefaction.shared"; } string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string); string getHelpString(); string getCitation() { return "Magurran AE (2004). Measuring biological diversity. Blackwell Pub.: Malden, Ma. \nhttp://www.mothur.org/wiki/Rarefaction.shared"; } string getDescription() { return "generate inter-sample rarefaction curves using a re-sampling without replacement approach"; } @@ -36,17 +37,18 @@ public: private: vector lookup; - InputData* input; - Rarefact* rCurve; - vector rDisplays; int nIters; string format; float freq; - bool abort, allLines, jumble; + map file2Group; //index in outputNames[i] -> group + bool abort, allLines, jumble, groupMode; set labels; //holds labels to be used - string label, calc, groups, outputDir, sharedfile; - vector Estimators, Groups, outputNames; + string label, calc, groups, outputDir, sharedfile, designfile; + vector Estimators, Groups, outputNames, Sets; + + int process(GroupMap&, string); + vector createGroupFile(vector&); };