X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=matrixoutputcommand.h;h=d6099326a69ac5ef1daf95ce192bc3cad1fd712f;hb=0470f6d037aacb3563c3f7010708120a4a67d4e6;hp=547b567c62e67c01d2dcce2b4cd573c5ad1c08bc;hpb=bede5752eaeedb5a7e339439b6ba2f6670bca2b9;p=mothur.git diff --git a/matrixoutputcommand.h b/matrixoutputcommand.h index 547b567..d609932 100644 --- a/matrixoutputcommand.h +++ b/matrixoutputcommand.h @@ -15,6 +15,8 @@ #include "readotu.h" #include "validcalculator.h" +// aka. dist.shared() + /* This command create a tree file for each similarity calculator at distance level, using various calculators to find the similiarity between groups. The user can select the lines or labels they wish to use as well as the groups they would like included. They can also use as many or as few calculators as they wish. */ @@ -24,9 +26,10 @@ class GlobalData; class MatrixOutputCommand : public Command { public: - MatrixOutputCommand(); + MatrixOutputCommand(string); ~MatrixOutputCommand(); int execute(); + void help(); private: void printSims(ostream&); @@ -42,6 +45,14 @@ private: string exportFileName; int numGroups; ofstream out; + OptionParser* parser; + map parameters; + map::iterator it; + bool abort, allLines; + set lines; //hold lines to be used + set labels; //holds labels to be used + string outputFile, calc, groups, line, label; + vector Estimators, Groups; //holds estimators to be used };