X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=heatmapsimcommand.h;h=f421fdc5bf2c3ff8aed22a197afc3309a86b4e34;hp=49924eb9d3fbe1bca2bd6a8650c0eb9586d98e6f;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=d5bf2c1354d0811a33394d918b15620606560d58 diff --git a/heatmapsimcommand.h b/heatmapsimcommand.h index 49924eb..f421fdc 100644 --- a/heatmapsimcommand.h +++ b/heatmapsimcommand.h @@ -12,35 +12,41 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "validcalculator.h" #include "heatmapsim.h" - -class GlobalData; +#include "nameassignment.hpp" class HeatMapSimCommand : public Command { public: HeatMapSimCommand(string); - ~HeatMapSimCommand(); - int execute(); - void help(); + HeatMapSimCommand(); + ~HeatMapSimCommand(){} + + vector setParameters(); + string getCommandName() { return "heatmap.sim"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Heatmap.sim"; } + string getDescription() { return "generate a heatmap indicating the pairwise distance between multiple samples using a variety of calculators"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - ReadOTUFile* read; InputData* input; vector lookup; vector heatCalculators; - ValidCalculators* validCalculator; HeatMapSim* heatmap; OptionParser* parser; - map parameters; - map::iterator it; bool abort, allLines; set labels; //holds labels to be used - string format, groups, label, calc, phylipfile, columnfile, namefile; - vector Estimators, Groups; + string format, groups, label, calc, sharedfile, phylipfile, columnfile, countfile, namefile, outputDir, inputfile; + vector Estimators, Groups, outputNames; + int fontsize; int runCommandShared(); int runCommandDist();