X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=pcoacommand.cpp;fp=pcoacommand.cpp;h=4be5ffb8c5b63c4202666aecd57ec58c2be05374;hb=ec5c537e869028c49231dab9a37c00a9edf70723;hp=d8efb2551e2bb6b2f459f14ad041c188f31926da;hpb=16c6e30b7c5a9cbe35989b2aa1d6848711a86d24;p=mothur.git diff --git a/pcoacommand.cpp b/pcoacommand.cpp index d8efb25..4be5ffb 100644 --- a/pcoacommand.cpp +++ b/pcoacommand.cpp @@ -197,7 +197,7 @@ int PCOACommand::execute(){ double corr = linearCalc.calcPearson(EuclidDists, D); //G is the pcoa file, D is the users distance matrix - m->mothurOut("Pearson's coefficient using " + toString(i) + " axis: " + toString(corr)); m->mothurOutEndLine(); + m->mothurOut("Rsq " + toString(i) + " axis: " + toString(corr * corr)); m->mothurOutEndLine(); if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { remove(outputNames[i].c_str()); } return 0; } }