X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmapsimcommand.h;h=74e20bebb35863128f72c3d85a8398c87ad9a5b2;hb=ee8403d4eb5760187d62b42a9cf4272de8fc0ec4;hp=091da26af7db4cf4e9302c0e9a9d0e8a4587f5de;hpb=0470f6d037aacb3563c3f7010708120a4a67d4e6;p=mothur.git diff --git a/heatmapsimcommand.h b/heatmapsimcommand.h index 091da26..74e20be 100644 --- a/heatmapsimcommand.h +++ b/heatmapsimcommand.h @@ -12,36 +12,42 @@ #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 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 lines; //hold lines to be used set labels; //holds labels to be used - string format, groups, line, label, calc; - vector Estimators, Groups; + string format, groups, label, calc, sharedfile, phylipfile, columnfile, namefile, outputDir, inputfile; + vector Estimators, Groups, outputNames; + int fontsize; + + int runCommandShared(); + int runCommandDist(); };