]> git.donarmstrong.com Git - mothur.git/commitdiff
added createRabund function to mgcluster
authorKathryn Iverson <kd.iverson@gmail.com>
Wed, 20 Jun 2012 20:56:35 +0000 (16:56 -0400)
committerKathryn Iverson <kd.iverson@gmail.com>
Wed, 20 Jun 2012 20:56:35 +0000 (16:56 -0400)
mgclustercommand.cpp
mgclustercommand.h

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++) { 
+    
+    }
+}
 
-
+//**********************************************************************************************************************
 
 
index ea2c1de8603d746277017d8b557fcc5171c9af39..889586ae305ac47bdb0f2d15880507aa68655dff 100644 (file)
@@ -61,6 +61,7 @@ private:
        ListVector* mergeOPFs(map<string, int>, float);
        void sortHclusterFiles(string, string);
        vector<seqDist> getSeqs(ifstream&);
+    RAbundVector createRabund(ListVector, map<string, int>);
 
 };