7 * Created by Sarah Westcott on 4/9/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 #include "mothurout.h"
15 class SharedRAbundVector;
16 class SharedOrderVector;
18 /**************************************************************************************************/
22 SharedUtil() { m = MothurOut::getInstance(); }
25 void getSharedVectors(vector<string>, vector<SharedRAbundVector*>&, SharedOrderVector*);
26 void getSharedVectorswithReplacement(vector<string>, vector<SharedRAbundVector*>&, SharedOrderVector*);
27 void setGroups(vector<string>&, vector<string>&); //globaldata->Groups, your tree or group map
28 void setGroups(vector<string>&, vector<string>&, string); //globaldata->Groups, your tree or group map, mode
29 void setGroups(vector<string>&, vector<string>&, string&, int&, string); //globaldata->Groups, your tree or group map, allgroups, numGroups, mode
30 void getCombos(vector<string>&, vector<string>, int&); //groupcomb, globaldata->Groups, numcomb
31 void updateGroupIndex(vector<string>&, map<string, int>&); //globaldata->Groups, groupmap->groupIndex
32 bool isValidGroup(string, vector<string>);
39 /**************************************************************************************************/