]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedrabundvector.h
pca command
[mothur.git] / sharedrabundvector.h
index 8f4227eebe0c21823a6f25d22ed3e29dbee79ab3..beece8e14a1082d7347a62fdc0e95ebcd24a9cc2 100644 (file)
@@ -13,6 +13,7 @@
 #include "datavector.hpp"
 #include "sharedordervector.h"
 #include "sharedsabundvector.h"
+#include "sharedrabundfloatvector.h"
 #include "rabundvector.hpp"
 #include "groupmap.h"
 
@@ -55,6 +56,7 @@ public:
        void pop_back();
        void resize(int);
        int size();
+       void clear();
        vector<individual>::reverse_iterator rbegin();
        vector<individual>::reverse_iterator rend();
        
@@ -68,6 +70,7 @@ public:
        SharedSAbundVector getSharedSAbundVector();
        SharedRAbundVector getSharedRAbundVector();
        vector<SharedRAbundVector*> getSharedRAbundVectors();
+       vector<SharedRAbundFloatVector*> getSharedRAbundFloatVectors(vector<SharedRAbundVector*>);
        
 private:
        vector<individual>  data; 
@@ -79,6 +82,8 @@ private:
        int numSeqs;
        string group;
        int index;      
+       
+       int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
 };