]> git.donarmstrong.com Git - mothur.git/blob - mantelcommand.h
changing command name classify.shared to classifyrf.shared
[mothur.git] / mantelcommand.h
1 #ifndef MANTELCOMMAND_H
2 #define MANTELCOMMAND_H
3
4 /*
5  *  mantelcommand.h
6  *  mothur
7  *
8  *  Created by westcott on 2/9/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "linearalgebra.h"
15
16 class MantelCommand : public Command {
17 public:
18         MantelCommand(string);
19         MantelCommand();
20         ~MantelCommand(){}
21         
22         vector<string> setParameters();
23         string getCommandName()                 { return "mantel";                                      }
24         string getCommandCategory()             { return "Hypothesis Testing";          }
25         
26         string getHelpString(); 
27     string getOutputPattern(string);    
28         string getCitation() { return "McCune B, Grace JB, Urban DL (2002). Analysis of ecological communities. MjM Software Design: Gleneden Beach, OR. \nLegendre P, Legendre L (1998). Numerical Ecology. Elsevier: New York. \nhttp://www.mothur.org/wiki/Mantel"; }
29         string getDescription()         { return "Mantel’s test for correlation between matrices"; }
30
31         int execute();
32         void help() { m->mothurOut(getHelpString()); }
33         
34 private:
35         
36         string phylipfile1, phylipfile2, outputDir, method;
37         bool abort;
38         int iters;
39         
40         vector<string> outputNames;
41 };
42
43
44 #endif
45
46
47