X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=heatmapcommand.h;h=fc5165ed65b9aa63e56de900acafcede5cc4d43c;hp=6d6c1d55020b170d8072b5a860ea7f89a1e50e71;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=cd37904452dc95b183ff313ff05720c562902487 diff --git a/heatmapcommand.h b/heatmapcommand.h index 6d6c1d5..fc5165e 100644 --- a/heatmapcommand.h +++ b/heatmapcommand.h @@ -13,35 +13,44 @@ #include "command.hpp" #include "inputdata.h" -#include "readotu.h" #include "sharedlistvector.h" #include "heatmap.h" #include "rabundvector.hpp" -class GlobalData; class HeatMapCommand : public Command { public: HeatMapCommand(string); - ~HeatMapCommand(); - int execute(); - void help(); + HeatMapCommand(); + ~HeatMapCommand(){} + + vector setParameters(); + string getCommandName() { return "heatmap.bin"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + + string getHelpString(); + string getOutputPattern(string); + string getCitation() { return "http://www.mothur.org/wiki/Heatmap.bin"; } + string getDescription() { return "generate a heatmap where the color represents the relative abundanceof an OTU"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - ReadOTUFile* read; InputData* input; - SharedListVector* SharedList; RAbundVector* rabund; vector lookup; + vector lookupFloat; HeatMap* heatmap; bool abort, allLines; - set lines; //hold lines to be used set labels; //holds labels to be used - string format, groups, sorted, scale, line, label; - vector Groups; + string format, groups, sorted, scale, label, outputDir, sharedfile, relabundfile, listfile, rabundfile, sabundfile, inputfile; + vector Groups, outputNames; + int numOTU, fontSize; };