X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefact.h;fp=rarefact.h;h=9507d5af84eeadec5046a4fe1967eda508913968;hb=861f46b74c17adec8c6ad6d89f232ae7485797bf;hp=aff5cb63effc7e806a368d3bd08545d2301bd0ba;hpb=6e63c5ff52bd2830b689417df8ba3db831e63a96;p=mothur.git diff --git a/rarefact.h b/rarefact.h index aff5cb6..9507d5a 100644 --- a/rarefact.h +++ b/rarefact.h @@ -5,6 +5,7 @@ #include "raredisplay.h" #include "ordervector.hpp" #include "mothur.h" +#include "globaldata.hpp" class Rarefact { @@ -13,13 +14,14 @@ public: Rarefact(OrderVector* o, vector disp) : numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel()) {}; Rarefact(vector shared, vector disp) : - lookup(shared), displays(disp) {}; + lookup(shared), displays(disp) { globaldata = GlobalData::getInstance(); }; ~Rarefact(){}; void getCurve(int, int); void getSharedCurve(int, int); private: + GlobalData* globaldata; OrderVector* order; vector displays; int numSeqs, numGroupComb;