]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.cpp
added createRabund function to mgcluster
[mothur.git] / mgclustercommand.cpp
index c4cdb50a303e6e814bf7c6e10ca5fcb76935b597..a0f33d6f8bba8c2976b0a969924c4082c98ca67a 100644 (file)
@@ -235,12 +235,12 @@ int MGClusterCommand::execute(){
         RAbundVector* rabund = NULL;
         if(large) {
             map<string, int> nameMapCounts = m->readNames(namefile);
-            RAbundVector* rabund = newFunctionToCreateRabund(list, nameMapCounts);
+            RAbundVector* rabund = createRabund(list, nameMapCounts);
         }else {
             RAbundVector* rabund = new RAbundVector(list->getRAbundVector());
         }
         
-        
+                
                //list = new ListVector(nameMap->getListVector());
                //RAbundVector* rabund = new RAbundVector(list->getRAbundVector());
                
@@ -709,7 +709,12 @@ void MGClusterCommand::sortHclusterFiles(string unsortedDist, string unsortedOve
 
 //**********************************************************************************************************************
 
+RAbundVector MGClusterCommand::createRabund(ListVector list, map<string, int> nameMapCounts){
+    for(int i = 0; i < list->getNumBins(); i++) { 
+    
+    }
+}
 
-
+//**********************************************************************************************************************