vector<string> setParameters();
string getCommandName() { return "metastats"; }
string getCommandCategory() { return "OTU-Based Approaches"; }
- string getOutputFileNameTag(string, string);
+
string getHelpString();
+ string getOutputPattern(string);
string getCitation() { return "White JR, Nagarajan N, Pop M (2009). Statistical methods for detecting differentially abundant features in clinical metagenomic samples. PLoS Comput Biol 5: e1000352. \nhttp://www.mothur.org/wiki/Metastats"; }
string getDescription() { return "detects differentially abundant features in clinical metagenomic samples"; }
int process(vector<SharedRAbundVector*>&);
int driver(int, int, vector<SharedRAbundVector*>&);
+ int convertToShared(string filename);
+ int convertToInput(vector<SharedRAbundVector*>&, string);
+ bool convertSharedToInput;
};
/**************************************************************************************************/
vector<string> designMapGroups;
vector<string> outputNames;
int start;
- int num, iters;
+ int num, iters, count;
float threshold;
MothurOut* m;
string sharedfile;
designMapGroups = dg;
iters = i;
threshold = thr;
+ count=0;
}
};
/**************************************************************************************************/
//for each combo
for (int c = pDataArray->start; c < (pDataArray->start+pDataArray->num); c++) {
-
+ pDataArray->count++;
//get set names
string setA = pDataArray->namesOfGroupCombos[c][0];
string setB = pDataArray->namesOfGroupCombos[c][1];