//**********************************************************************************************************************
PCACommand::PCACommand(){
try {
//**********************************************************************************************************************
PCACommand::PCACommand(){
try {
vector<string> tempOutNames;
outputTypes["pca"] = tempOutNames;
outputTypes["loadings"] = tempOutNames;
vector<string> tempOutNames;
outputTypes["pca"] = tempOutNames;
outputTypes["loadings"] = tempOutNames;
metric = m->isTrue(temp);
label = validParameter.validFile(parameters, "label", false);
metric = m->isTrue(temp);
label = validParameter.validFile(parameters, "label", false);
else { m->splitAtDash(label, labels); }
groups = validParameter.validFile(parameters, "groups", false);
else { m->splitAtDash(label, labels); }
groups = validParameter.validFile(parameters, "groups", false);
m->mothurOut("The groups parameter allows you to specify which groups you would like analyzed. Groupnames are separated by dashes.\n");
m->mothurOut("The metric parameter allows indicate you if would like the pearson correlation coefficient calculated. Default=True"); m->mothurOutEndLine();
m->mothurOut("Example pca(groups=yourGroups).\n");
m->mothurOut("The groups parameter allows you to specify which groups you would like analyzed. Groupnames are separated by dashes.\n");
m->mothurOut("The metric parameter allows indicate you if would like the pearson correlation coefficient calculated. Default=True"); m->mothurOutEndLine();
m->mothurOut("Example pca(groups=yourGroups).\n");
cout.setf(ios::fixed, ios::floatfield);
cout.setf(ios::showpoint);
cout.setf(ios::fixed, ios::floatfield);
cout.setf(ios::showpoint);