+
+ //figure out what groups are being compared in getValues
+ //because the jumble parameter randomizes the order we need to put the results in the correct column in the output file
+ int group1Index, group2Index, pos;
+ group1Index = shared1->getGroupIndex();
+ group2Index = shared2->getGroupIndex();
+
+ numGroupComb = 0;
+ int n = 1;
+ for (int i = 0; i < (numGroups - 1); i++) {
+ for (int l = n; l < numGroups; l++) {
+ if ((group1Index == i) && (group2Index == l)) {
+ pos = numGroupComb; //pos tells you which column in the output file you are in
+ }else if ((group1Index == l) && (group2Index == i)) {
+ pos = numGroupComb;
+ }
+ numGroupComb++;
+ }
+ n++;
+ }
+
+ groupData.resize((numGroupComb*data.size()), 0);
+