]> git.donarmstrong.com Git - mothur.git/blob - heatmapcommand.h
added command descriptions
[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         string getHelpString(); 
32         string getCitation() { return "http://www.mothur.org/wiki/Heatmap.bin"; }
33         string getDescription()         { return "generate a heatmap where the color represents the relative abundanceof an OTU"; }
34
35         
36         int execute(); 
37         void help() { m->mothurOut(getHelpString()); }  
38         
39         
40 private:
41         InputData* input;
42         RAbundVector* rabund;
43         vector<SharedRAbundVector*> lookup;
44         vector<SharedRAbundFloatVector*> lookupFloat;
45         HeatMap* heatmap;
46
47         bool abort, allLines;
48         set<string> labels; //holds labels to be used
49         string format, groups, sorted, scale, label, outputDir, sharedfile, relabundfile, listfile, rabundfile, sabundfile, inputfile;
50         vector<string> Groups, outputNames;
51         int numOTU, fontSize;
52
53
54 };
55
56 #endif
57