]> git.donarmstrong.com Git - mothur.git/blob - heatmapcommand.h
working on pam
[mothur.git] / heatmapcommand.h
1 #ifndef HEATMAPCOMMAND_H
2 #define HEATMAPCOMMAND_H
3
4 /*
5  *  heatmapcommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 3/25/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13
14 #include "command.hpp"
15 #include "inputdata.h"
16 #include "sharedlistvector.h"
17 #include "heatmap.h"
18 #include "rabundvector.hpp"
19
20
21 class HeatMapCommand : public Command {
22
23 public:
24         HeatMapCommand(string);
25         HeatMapCommand();
26         ~HeatMapCommand(){}
27         
28         vector<string> setParameters();
29         string getCommandName()                 { return "heatmap.bin";                         }
30         string getCommandCategory()             { return "OTU-Based Approaches";        }
31         
32         string getHelpString(); 
33     string getOutputPattern(string);    
34         string getCitation() { return "http://www.mothur.org/wiki/Heatmap.bin"; }
35         string getDescription()         { return "generate a heatmap where the color represents the relative abundanceof an OTU"; }
36
37         
38         int execute(); 
39         void help() { m->mothurOut(getHelpString()); }  
40         
41         
42 private:
43         InputData* input;
44         RAbundVector* rabund;
45         vector<SharedRAbundVector*> lookup;
46         vector<SharedRAbundFloatVector*> lookupFloat;
47         HeatMap* heatmap;
48
49         bool abort, allLines;
50         set<string> labels; //holds labels to be used
51         string format, groups, sorted, scale, label, outputDir, sharedfile, relabundfile, listfile, rabundfile, sabundfile, inputfile;
52         vector<string> Groups, outputNames;
53         int numOTU, fontSize;
54
55
56 };
57
58 #endif
59