]> git.donarmstrong.com Git - mothur.git/blob - heatmap.h
made sorting optional but sort by default, in case the user wants to see the 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
21 /***********************************************************************/
22
23 class HeatMap {
24         
25         public:
26                 HeatMap();
27                 ~HeatMap(){};
28         
29                 void getPic(OrderVector*);
30                 void getPic(SharedOrderVector*);
31
32         private:
33                 void getSharedVectors(SharedOrderVector*);
34                 void sortSharedVectors();
35                 
36                 GlobalData* globaldata;
37                 vector<SharedRAbundVector*> lookup;
38                 RAbundVector rabund;
39                 string format, sorted, groupComb;
40                 ofstream outsvg;
41                 map<int, string> colorScale;
42                 map<int, string>::iterator it;
43
44                         
45 };
46 /***********************************************************************/
47
48 #endif
49
50
51