]> git.donarmstrong.com Git - mothur.git/blob - mantelcommand.h
Merge remote-tracking branch 'mothur/master'
[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         string getOutputFileNameTag(string, string);
26         string getHelpString(); 
27         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"; }
28         string getDescription()         { return "Mantel’s test for correlation between matrices"; }
29
30         int execute();
31         void help() { m->mothurOut(getHelpString()); }
32         
33 private:
34         
35         string phylipfile1, phylipfile2, outputDir, method;
36         bool abort;
37         int iters;
38         
39         vector<string> outputNames;
40 };
41
42
43 #endif
44
45
46