]> git.donarmstrong.com Git - mothur.git/blob - heatmap.h
pds fixes of heatmap and some other minor stuff
[mothur.git] / heatmap.h
1 #ifndef HEATMAP_H
2 #define HEATMAP_H
3 /*
4  *  heatmap.h
5  *  Mothur
6  *
7  *  Created by Sarah Westcott on 3/25/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11
12 using namespace std;
13
14 #include "ordervector.hpp"
15 #include "rabundvector.hpp"
16 #include "sharedrabundvector.h"
17 #include "sharedordervector.h"
18 #include "datavector.hpp"
19 #include "globaldata.hpp"
20 #include "sharedutilities.h"
21
22 /***********************************************************************/
23
24 class HeatMap {
25         
26         public:
27                 HeatMap();
28                 ~HeatMap(){ delete util; };
29         
30                 void getPic(OrderVector*);
31                 void getPic(SharedOrderVector*);
32
33         private:
34                 void sortSharedVectors(vector<SharedRAbundVector*>& );
35                 void printLegend(int, float);
36
37                 GlobalData* globaldata;
38                 SharedUtil* util;
39                 string format, sorted, groupComb, scaler;
40                 ofstream outsvg;
41                         
42 };
43
44 /***********************************************************************/
45
46 #endif
47
48
49