X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmap.h;h=ffbe94675df2dc8b968134ad79ffc7307bb1d458;hb=905cc2b0bd18c5ce611b048d785e93859865a5ea;hp=54035f0cb4aba4e595183d3f8b6ae9e0ce256bc9;hpb=51cf89e90eef8b300c2786eb1560dd89e6e83445;p=mothur.git diff --git a/heatmap.h b/heatmap.h index 54035f0..ffbe946 100644 --- a/heatmap.h +++ b/heatmap.h @@ -9,45 +9,37 @@ * */ -using namespace std; - -#include "ordervector.hpp" #include "rabundvector.hpp" #include "sharedrabundvector.h" -#include "sharedordervector.h" #include "datavector.hpp" #include "globaldata.hpp" -#include "sharedutilities.h" /***********************************************************************/ class HeatMap { public: - HeatMap(); - ~HeatMap(){ delete util; }; + HeatMap(string, string, string); + ~HeatMap(){}; - void getPic(OrderVector*); - void getPic(SharedOrderVector*); + string getPic(RAbundVector*); + string getPic(vector); private: - void sortSharedVectors(); + void sortSharedVectors(vector& ); void printLegend(int, float); - + GlobalData* globaldata; - SharedUtil* util; - vector lookup; - RAbundVector rabund; - string format, sorted, groupComb, scaler; + string format, sorted, groupComb, scaler, outputDir; ofstream outsvg; - map colorScale; - map::iterator it; - + MothurOut* m; }; + /***********************************************************************/ #endif +