]> 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 fe79e43c81ced356e29a8919bd58ddfac7acbb6c..56a56e4e841b4f258f5ab4f183db96acd7d6f268 100644 (file)
--- a/heatmap.h
+++ b/heatmap.h
@@ -9,12 +9,8 @@
  *
  */
 
-using namespace std;
-
-#include "ordervector.hpp"
-#include "sabundvector.hpp"
-#include "sharedsabundvector.h"
-#include "sharedordervector.h"
+#include "rabundvector.hpp"
+#include "sharedrabundvector.h"
 #include "datavector.hpp"
 #include "globaldata.hpp"
 
@@ -23,23 +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 setGroups();
-       
-               GlobalData* globaldata;
-               vector<SharedSAbundVector> lookup;
-               SAbundVector sabund;
-               string format;
+               void sortSharedVectors(vector<SharedRAbundVector*>& );
+               void printLegend(int, float);
 
+               GlobalData* globaldata;
+               string format, sorted, groupComb, scaler;
+               ofstream outsvg;
                        
 };
 
+/***********************************************************************/
+
 #endif
 
+
+
+