]> git.donarmstrong.com Git - mothur.git/blob - collect.h
started shared utilities, updates to venn and heatmap added tree.groups command
[mothur.git] / collect.h
1 #ifndef COLLECT_H
2 #define COLLECT_H
3
4 using namespace std;
5
6
7
8 #include "collectorscurvedata.h"
9 #include "display.h"
10 #include "ordervector.hpp"
11 #include "sabundvector.hpp"
12 #include "rabundvector.hpp"
13 #include "sharedordervector.h"
14 #include "datavector.hpp"
15 #include "globaldata.hpp"
16
17 /***********************************************************************/
18
19 class Collect {
20         
21 public:
22         Collect(OrderVector* order, vector<Display*> disp) :
23                                         numSeqs(order->getNumSeqs()), order(order), displays(disp), label(order->getLabel())  {};
24         Collect(SharedOrderVector* sharedorder, vector<Display*> disp) :
25                                         numSeqs(sharedorder->getNumSeqs()), sharedorder(sharedorder), displays(disp), label(sharedorder->getLabel())  {};
26
27         ~Collect(){             };
28         void getCurve(int);
29         void getSharedCurve(int);
30         
31 private:
32         SharedOrderVector* sharedorder;
33         GlobalData* globaldata;
34         OrderVector* order;
35         vector<Display*> displays;
36         int numSeqs, numGroupComb, totalNumSeq;
37         string label, groupLabel;
38         void getGroupComb();
39         vector<string> groupComb;
40         bool validGroup(vector<string>, string);
41 };
42
43
44 #endif
45