]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedrabundvector.h
pca command
[mothur.git] / sharedrabundvector.h
index 14ec1b8e95d1aebea828c804ea1abc2e75b27217..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"
 
@@ -51,10 +52,11 @@ public:
        void sortD();  //Sorts the data in descending order.
        void push_front(int, int, string); //abundance, otu, groupname
        void insert(int, int, string); //abundance, otu, groupname
-       void push_back(int, int, string);  //abundance, otu, groupname
+       void push_back(int, string);  //abundance, groupname
        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*>&);
 };