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