]> git.donarmstrong.com Git - mothur.git/blob - heatmap.h
created mothurOut class to handle logfiles
[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 #include "rabundvector.hpp"
13 #include "sharedrabundvector.h"
14 #include "datavector.hpp"
15 #include "globaldata.hpp"
16
17 /***********************************************************************/
18
19 class HeatMap {
20         
21         public:
22                 HeatMap(string, string, string);
23                 ~HeatMap(){};
24         
25                 string getPic(RAbundVector*);
26                 string getPic(vector<SharedRAbundVector*>);
27
28         private:
29                 void sortSharedVectors(vector<SharedRAbundVector*>& );
30                 void printLegend(int, float);
31
32                 GlobalData* globaldata;
33                 string format, sorted, groupComb, scaler, outputDir;
34                 ofstream outsvg;
35                 MothurOut* m;
36                         
37 };
38
39 /***********************************************************************/
40
41 #endif
42
43
44
45