]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurmetastats.cpp
removed unused copy constructors and comments within comments that where causing...
[mothur.git] / mothurmetastats.cpp
index ae822254c01ccdf7359ca319c44a2db5005f1fc4..ae3ab802b2e4380c93655f2d6a6010beaf16f151 100644 (file)
@@ -217,7 +217,7 @@ int MothurMetastats::runMetastats(string outputFileName, vector< vector<double>
                        if(qvalues[i] < threshold){
                                m->mothurOut("Feature " + toString((i+1)) + " is significant, q = "); 
                                cout << qvalues[i];
-                               m->mothurOutJustToLog(toString(pvalues[i])); m->mothurOutEndLine();
+                               m->mothurOutJustToLog(toString(qvalues[i])); m->mothurOutEndLine();
                        }       
                }
                
@@ -492,6 +492,12 @@ int MothurMetastats::calc_twosample_ts(vector<double>& Pmatrix, int secondGroupi
 vector<double> MothurMetastats::calc_qvalues(vector<double>& pValues) {
        try {
                
+       /* cout << "x <- c(" << pValues[0];
+        for (int l = 1; l < pValues.size(); l++){
+            cout << ", " << pValues[l];
+        }
+        cout << ")\n";*/
+        
                int numRows = pValues.size();
                vector<double> qvalues(numRows, 0.0);