]> git.donarmstrong.com Git - mothur.git/blob - pcoacommand.h
added citation function to commands
[mothur.git] / pcoacommand.h
1 #ifndef PCOACOMMAND_H
2 #define PCOACOMMAND_H
3
4 /*
5  *  pcoacommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 1/4/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12  
13 #include "command.hpp"
14 #include "linearalgebra.h"
15
16
17 /*****************************************************************/
18 class PCOACommand : public Command {
19         
20 public:
21         PCOACommand(string);    
22         PCOACommand();
23         ~PCOACommand(){}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "pcoa";                                        }
27         string getCommandCategory()             { return "Hypothesis Testing";          }
28         string getHelpString(); 
29         string getCitation() { return "http://www.mothur.org/wiki/Pcoa"; }
30         
31         int execute();
32         void help() { m->mothurOut(getHelpString()); }
33         
34 private:
35
36         bool abort, metric;
37         string phylipfile, filename, fbase, outputDir;
38         vector<string> outputNames;
39         LinearAlgebra linearCalc;
40         
41         void get_comment(istream&, char, char);
42         void output(string, vector<string>, vector<vector<double> >&, vector<double>);
43         
44 };
45         
46 /*****************************************************************/
47         
48 #endif
49