]> git.donarmstrong.com Git - mothur.git/blob - heatmapsimcommand.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / heatmapsimcommand.h
1 #ifndef HEATMAPSIMCOMMAND_H
2 #define HEATMAPSIMCOMMAND_H
3
4 /*
5  *  heatmapsimcommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 6/8/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "validcalculator.h"
16 #include "heatmapsim.h"
17 #include "nameassignment.hpp"
18
19 class HeatMapSimCommand : public Command {
20
21 public:
22         HeatMapSimCommand(string);
23         HeatMapSimCommand();
24         ~HeatMapSimCommand(){}
25         
26         vector<string> setParameters();
27         string getCommandName()                 { return "heatmap.sim";                         }
28         string getCommandCategory()             { return "OTU-Based Approaches";        }
29         string getHelpString(); 
30         
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34         
35 private:
36         InputData* input;
37         vector<SharedRAbundVector*> lookup;
38         vector<Calculator*> heatCalculators;
39         ValidCalculators* validCalculator;
40         HeatMapSim* heatmap;
41         OptionParser* parser;
42         bool abort, allLines;
43         set<string> labels; //holds labels to be used
44         string format, groups, label, calc, sharedfile, phylipfile, columnfile, namefile, outputDir, inputfile;
45         vector<string> Estimators, Groups, outputNames;
46         
47         int runCommandShared();
48         int runCommandDist();
49
50
51 };
52
53 #endif
54