]> git.donarmstrong.com Git - mothur.git/blob - sharedutilities.h
changed heatmap and venn command to use vector of sharedrabunds instead of order...
[mothur.git] / sharedutilities.h
1 #ifndef SHAREDUTIL_H
2 #define SHAREDUTIL_H
3 /*
4  *  sharedutilities.h
5  *  Mothur
6  *
7  *  Created by Sarah Westcott on 4/9/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11
12 #include "mothur.h"
13
14 class SharedRAbundVector;
15 class SharedOrderVector;
16
17 /**************************************************************************************************/
18
19 class SharedUtil {
20         public:
21                 SharedUtil() {};
22                 ~SharedUtil() {};
23                 
24                 void getSharedVectors(vector<string>, vector<SharedRAbundVector*>&, SharedOrderVector*);
25                 void getSharedVectorswithReplacement(vector<string>, vector<SharedRAbundVector*>&, SharedOrderVector*);
26                 void setGroups(vector<string>&, vector<string>&);  //globaldata->Groups, your tree or group map
27                 void setGroups(vector<string>&, vector<string>&, string);  //globaldata->Groups, your tree or group map, mode
28                 void setGroups(vector<string>&, vector<string>&, string&, int&, string);  //globaldata->Groups, your tree or group map, allgroups, numGroups, mode
29                 void getCombos(vector<string>&, vector<string>, int&); //groupcomb, globaldata->Groups, numcomb
30                 void updateGroupIndex(vector<string>&, map<string, int>&); //globaldata->Groups, groupmap->groupIndex
31                 
32         private:
33         
34                 bool isValidGroup(string, vector<string>);
35 };
36
37 /**************************************************************************************************/
38
39
40
41 #endif