X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedrabundfloatvector.h;h=965b03ae7aebaf3e499ef55264a0d9ebe421380b;hb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1;hp=f826d9ce4b525e61909324c3481dd6a7bd847146;hpb=7ae40733a270f73ec8a331540cc7f28fd60b24fc;p=mothur.git diff --git a/sharedrabundfloatvector.h b/sharedrabundfloatvector.h index f826d9c..965b03a 100644 --- a/sharedrabundfloatvector.h +++ b/sharedrabundfloatvector.h @@ -15,7 +15,7 @@ #include "sharedordervector.h" #include "sharedsabundvector.h" #include "rabundvector.hpp" -#include "groupmap.h" +//#include "groupmap.h" /* This class is a child to datavector. It represents OTU information at a certain distance. It is similiar to an rabundvector except each member of data knows which group it belongs to. @@ -23,7 +23,6 @@ An individual which knows the OTU from which it came, the group it is in and its abundance. */ -class GlobalData; class SharedRAbundFloatVector : public DataVector { @@ -51,9 +50,11 @@ public: void push_back(float, string); //abundance, groupname void pop_back(); void resize(int); + void clear(); int size(); void print(ostream&); + void printHeaders(ostream&); RAbundVector getRAbundVector(); SAbundVector getSAbundVector(); @@ -67,13 +68,15 @@ public: private: vector data; vector lookup; - GlobalData* globaldata; - GroupMap* groupmap; + //GlobalData* globaldata; + //GroupMap* groupmap; float maxRank; int numBins; float numSeqs; string group; int index; + + int eliminateZeroOTUS(vector&); };