]> git.donarmstrong.com Git - mothur.git/blob - phylodiversitycommand.h
added phylo.diversity command. added hard parameter to cluster, hcluster and read...
[mothur.git] / phylodiversitycommand.h
1 #ifndef PHYLODIVERSITYCOMMAND_H
2 #define PHYLODIVERSITYCOMMAND_H
3
4 /*
5  *  phylodiversitycommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 4/30/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "treemap.h"
15 #include "globaldata.hpp"
16
17 class PhyloDiversityCommand : public Command {
18         
19         public:
20                 PhyloDiversityCommand(string);
21                 ~PhyloDiversityCommand();
22                 int execute();  
23                 void help();
24         
25         private:
26                 GlobalData* globaldata;
27         
28                 int iters, freq;  
29                 bool abort, rarefy;
30                 string groups, outputDir;
31                 vector<string> Groups, outputNames; //holds groups to be used, and outputFile names
32                 
33                 void printData(vector<int>&, vector< vector<float> >&, string);
34 };
35
36 #endif
37