]> git.donarmstrong.com Git - mothur.git/blobdiff - collectsharedcommand.cpp
added sort to heatmap to put shared otus at the top and updated some error checking
[mothur.git] / collectsharedcommand.cpp
index 6ee2943777f4053bb89f6d86e400269f3af30789..ec35dd601e75abd3ea7b65e32aabcaa1c13b1c90 100644 (file)
 #include "sharedsorest.h"
 #include "sharedthetayc.h"
 #include "sharedthetan.h"
+#include "sharedkstest.h"
+#include "sharedbdiversity.h"
 #include "sharednseqs.h"
 #include "sharedochiai.h"
-#include "sharedanderberg.h"
+#include "sharedanderbergs.h"
 #include "sharedkulczynski.h"
 #include "sharedkulczynskicody.h"
 #include "sharedlennon.h"
@@ -29,6 +31,7 @@
 #include "sharedbraycurtis.h"
 
 
+
 //**********************************************************************************************************************
 
 CollectSharedCommand::CollectSharedCommand(){
@@ -64,6 +67,10 @@ CollectSharedCommand::CollectSharedCommand(){
                                        cDisplays.push_back(new CollectDisplay(new SharedThetaYC(), new SharedOneColumnFile(fileNameRoot+"shared.thetayc")));
                                }else if (globaldata->Estimators[i] == "sharedthetan") { 
                                        cDisplays.push_back(new CollectDisplay(new SharedThetaN(), new SharedOneColumnFile(fileNameRoot+"shared.thetan")));
+                               }else if (globaldata->Estimators[i] == "sharedkstest") { 
+                                       cDisplays.push_back(new CollectDisplay(new SharedKSTest(), new SharedOneColumnFile(fileNameRoot+"shared.kstest")));
+                               }else if (globaldata->Estimators[i] == "sharedbdiversity") { 
+                                       cDisplays.push_back(new CollectDisplay(new SharedBDiversity(), new SharedOneColumnFile(fileNameRoot+"shared.bdiversity")));
                                }else if (globaldata->Estimators[i] == "sharednseqs") { 
                                        cDisplays.push_back(new CollectDisplay(new SharedNSeqs(), new SharedOneColumnFile(fileNameRoot+"shared.nseqs")));
                                }else if (globaldata->Estimators[i] == "sharedochiai") {