X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=otuassociationcommand.cpp;fp=otuassociationcommand.cpp;h=4b5596441081ce9e2becf9df5d61c4f4636a51e3;hb=5d77fd07180d1fb8561ff1962e6d7429caf8555e;hp=c82510c3d8d0b531d13e4c847d16fe98aa72d611;hpb=fc3b1fc4fc1c4e38fde6b0c0ee7896b5fe0b9d57;p=mothur.git diff --git a/otuassociationcommand.cpp b/otuassociationcommand.cpp index c82510c..4b55964 100644 --- a/otuassociationcommand.cpp +++ b/otuassociationcommand.cpp @@ -300,7 +300,19 @@ int OTUAssociationCommand::process(vector& lookup){ for (int k = 0; k < i; k++) { if (m->control_pressed) { out.close(); return 0; } - + + /*cout << m->binLabelsInFile[i] << " <- c(" << xy[i][0]; + for (int l = 1; l < xy[i].size(); l++){ + cout << ", " << xy[i][l]; + } + cout << ")\n"; + + cout << m->binLabelsInFile[k] << " <- c(" << xy[k][0]; + for (int l = 1; l < xy[k].size(); l++){ + cout << ", " << xy[k][l]; + } + cout << ")\n";*/ + double coef = 0.0; double sig = 0.0; if (method == "spearman") { coef = linear.calcSpearman(xy[i], xy[k], sig); } @@ -314,6 +326,7 @@ int OTUAssociationCommand::process(vector& lookup){ out.close(); + return 0; }