]> git.donarmstrong.com Git - mothur.git/blob - rarefact.h
started shared utilities, updates to venn and heatmap added tree.groups command
[mothur.git] / rarefact.h
1 #ifndef RAREFACT_H
2 #define RAREFACT_H
3
4 using namespace std;
5
6 #include "rarefactioncurvedata.h"
7 #include "raredisplay.h"
8 #include "ordervector.hpp"
9 #include "mothur.h"
10
11
12 class Rarefact {
13         
14 public:
15         Rarefact(OrderVector* o, vector<Display*> disp) :
16                         numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel())  {};
17         Rarefact(SharedOrderVector* sharedorder, vector<Display*> disp) :
18                                         numSeqs(sharedorder->getNumSeqs()), sharedorder(sharedorder), displays(disp), label(sharedorder->getLabel())  {};
19
20         ~Rarefact(){};
21         void getCurve(int, int);
22         void getSharedCurve(int, int);
23         
24 private:
25         SharedOrderVector* sharedorder;
26         GlobalData* globaldata;
27         OrderVector* order;
28         vector<Display*> displays;
29         int numSeqs, numGroupComb;
30         string label;
31         void mergeVectors(SharedRAbundVector*, SharedRAbundVector*);
32         vector<SharedRAbundVector*> lookup; 
33
34 };
35
36
37 #endif
38