X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=heatmapsimcommand.h;h=f421fdc5bf2c3ff8aed22a197afc3309a86b4e34;hp=595f918f442352aea7dd94d6e62065b28398c6ca;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=f37a59b81c339f574d97042ff6e364146feb457a diff --git a/heatmapsimcommand.h b/heatmapsimcommand.h index 595f918..f421fdc 100644 --- a/heatmapsimcommand.h +++ b/heatmapsimcommand.h @@ -12,35 +12,44 @@ #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; - 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(); };