]> git.donarmstrong.com Git - mothur.git/blobdiff - heatmap.h
added hcluster command and fixed some bugs, namely one with smart distancing.
[mothur.git] / heatmap.h
index 0678aa0827b8765f72c5012dfc3fa18522d995a6..56a56e4e841b4f258f5ab4f183db96acd7d6f268 100644 (file)
--- a/heatmap.h
+++ b/heatmap.h
@@ -9,12 +9,8 @@
  *
  */
 
-using namespace std;
-
-#include "ordervector.hpp"
 #include "rabundvector.hpp"
 #include "sharedrabundvector.h"
-#include "sharedordervector.h"
 #include "datavector.hpp"
 #include "globaldata.hpp"
 
@@ -23,29 +19,26 @@ using namespace std;
 class HeatMap {
        
        public:
-               HeatMap();
+               HeatMap(string, string);
                ~HeatMap(){};
        
-               void getPic(OrderVector*);
-               void getPic(SharedOrderVector*);
+               void getPic(RAbundVector*);
+               void getPic(vector<SharedRAbundVector*>);
 
        private:
-               void getSharedVectors(SharedOrderVector*);
-       
+               void sortSharedVectors(vector<SharedRAbundVector*>& );
+               void printLegend(int, float);
+
                GlobalData* globaldata;
-               vector<SharedRAbundVector*> lookup;
-               RAbundVector rabund;
-               string format;
+               string format, sorted, groupComb, scaler;
                ofstream outsvg;
-               map<int, string> colorScale;
-               map<int, string>::iterator it;
-               string groupComb;
-
                        
 };
+
 /***********************************************************************/
 
 #endif
 
 
 
+