]> git.donarmstrong.com Git - mothur.git/blob - heatmap.h
started shared utilities, updates to venn and heatmap added tree.groups command
[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();
35                 
36                 GlobalData* globaldata;
37                 SharedUtil* util;
38                 vector<SharedRAbundVector*> lookup;
39                 RAbundVector rabund;
40                 string format, sorted, groupComb, scaler;
41                 ofstream outsvg;
42                 map<float, string> colorScale;
43                 map<float, string>::iterator it;
44
45                         
46 };
47 /***********************************************************************/
48
49 #endif
50
51
52