X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=matrixoutputcommand.h;h=2a7908167ac1ede1d402fa26c2f9c30978b31469;hb=c3396974063d6efc5e5850ddf4ed8ab65cc94bb9;hp=07743e5b4df6d867323c89c2acd78b241486bd00;hpb=cd37904452dc95b183ff313ff05720c562902487;p=mothur.git diff --git a/matrixoutputcommand.h b/matrixoutputcommand.h index 07743e5..2a79081 100644 --- a/matrixoutputcommand.h +++ b/matrixoutputcommand.h @@ -18,7 +18,7 @@ // 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. + The user can select the 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. */ class GlobalData; @@ -26,14 +26,19 @@ class GlobalData; class MatrixOutputCommand : public Command { public: - MatrixOutputCommand(string); + MatrixOutputCommand(string); + MatrixOutputCommand(); ~MatrixOutputCommand(); + vector getRequiredParameters(); + vector getValidParameters(); + vector getRequiredFiles(); + map > getOutputFiles() { return outputTypes; } int execute(); void help(); private: void printSims(ostream&); - void process(vector); + int process(vector); GlobalData* globaldata; ReadOTUFile* read; @@ -42,15 +47,15 @@ private: InputData* input; ValidCalculators* validCalculator; vector lookup; - string exportFileName; + string exportFileName, output; int numGroups; ofstream out; 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 + string outputFile, calc, groups, label, outputDir; + vector Estimators, Groups, outputNames; //holds estimators to be used + map > outputTypes; };