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