8 * Created by westcott on 1/4/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "linearalgebra.h"
17 /*****************************************************************/
18 class PCOACommand : public Command {
24 vector<string> getRequiredParameters();
25 vector<string> getValidParameters();
26 vector<string> getRequiredFiles();
27 map<string, vector<string> > getOutputFiles() { return outputTypes; }
34 string phylipfile, columnfile, namefile, format, filename, fbase, outputDir;
35 float cutoff, precision;
36 vector<string> outputNames;
37 map<string, vector<string> > outputTypes;
38 LinearAlgebra linearCalc;
40 void get_comment(istream&, char, char);
41 int read_phylip(istream&, int, vector<string>&, vector<vector<double> >&);
42 void read(string, vector<string>&, vector<vector<double> >&);
43 void recenter(double, vector<vector<double> >, vector<vector<double> >&);
44 void output(string, vector<string>, vector<vector<double> >&, vector<double>);
48 /*****************************************************************/