X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=parsimonycommand.h;h=db062c6d84a67b72dd1b0b7163f0eae9ca8f0aa5;hb=5318771152ee5b1a280b3dc50aedd887dd1da8a8;hp=ba30d4016886123c1d8b33967899d699619b30b4;hpb=b2c44d69197045c26c1f4e62d248ab882c79a393;p=mothur.git diff --git a/parsimonycommand.h b/parsimonycommand.h index ba30d40..db062c6 100644 --- a/parsimonycommand.h +++ b/parsimonycommand.h @@ -32,20 +32,21 @@ class ParsimonyCommand : public Command { TreeMap* tmap; TreeMap* savetmap; Parsimony* pars; + vector groupComb; // AB. AC, BC... string parsFile, sumFile, randomtree; - int iters, numGroups; + int iters, numGroups, numComp; vector numEachGroup; //vector containing the number of sequences in each group the users wants for random distrib. - vector userTreeScores; //scores for users trees - vector UScoreSig; //tree score signifigance when compared to random trees - percentage of random trees with that score or lower. + vector< vector > userTreeScores; //scores for users trees for each comb. + vector< vector > UScoreSig; //tree score signifigance when compared to random trees - percentage of random trees with that score or lower. EstOutput userData; //pscore info for user tree EstOutput randomData; //pscore info for random trees - map validScores; //contains scores from both user and random - map rscoreFreq; //pscore, number of random trees with that score. - map uscoreFreq; //pscore, number of user trees with that score. - map rCumul; //pscore, cumulative percentage of number of random trees with that score or lower. - map uCumul; //pscore, cumulative percentage of number of user trees with that score or lower . - map::iterator it; - map::iterator it2; + vector< map > validScores; //map contains scores from both user and random + vector< map > rscoreFreq; //map -vector entry for each combination. + vector< map > uscoreFreq; //map -vector entry for each combination. + vector< map > rCumul; //map -vector entry for each combination. + vector< map > uCumul; //map -vector entry for each combination. + map::iterator it; + map::iterator it2; ofstream out, outSum;