]> git.donarmstrong.com Git - mothur.git/blobdiff - pcoacommand.cpp
working on nmds
[mothur.git] / pcoacommand.cpp
index 6777b5a56cb1182654c66bf6d065f9f973a10525..fbcb7e08779d14f28277d8b5e8d0a8ce3b088174 100644 (file)
@@ -277,11 +277,11 @@ void PCOACommand::output(string fnameRoot, vector<string> name_list, vector<vect
                        }
                }
                
-               ofstream pcaData((fnameRoot+"pcoa").c_str(), ios::trunc);
+               ofstream pcaData((fnameRoot+"pcoa.axes").c_str(), ios::trunc);
                pcaData.setf(ios::fixed, ios::floatfield);
                pcaData.setf(ios::showpoint);   
-               outputNames.push_back(fnameRoot+"pcoa");
-               outputTypes["pcoa"].push_back(fnameRoot+"pcoa");
+               outputNames.push_back(fnameRoot+"pcoa.axes");
+               outputTypes["pcoa"].push_back(fnameRoot+"pcoa.axes");
                
                ofstream pcaLoadings((fnameRoot+"pcoa.loadings").c_str(), ios::trunc);
                pcaLoadings.setf(ios::fixed, ios::floatfield);