8 * Created by westcott on 1/7/11.
9 * Copyright 2011 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "linearalgebra.h"
15 #include "sharedrabundfloatvector.h"
17 /*****************************************************************/
18 class PCACommand : public Command {
25 vector<string> setParameters();
26 string getCommandName() { return "pca"; }
27 string getCommandCategory() { return "Hypothesis Testing"; }
28 string getHelpString();
31 void help() { m->mothurOut(getHelpString()); }
37 string outputDir, mode, inputFile, label, groups, sharedfile, relabundfile;
38 vector<string> outputNames, Groups;
40 LinearAlgebra linearCalc;
42 //vector< vector<double> > createMatrix(vector<SharedRAbundFloatVector*>);
43 int process(vector<SharedRAbundFloatVector*>&);
44 void output(string, vector<string>, vector<vector<double> >&, vector<double>);
48 /*****************************************************************/