]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.h
parsimony with groups
[mothur.git] / unifracweightedcommand.h
index e8daaefccbead969b54f2996f83ae378fc407a1c..4d8f6624dae66605a2169f2d081d49e94b918272 100644 (file)
@@ -28,8 +28,8 @@ class UnifracWeightedCommand : public Command {
        private:
                GlobalData* globaldata;
                vector<Tree*> T;           //user trees
-               vector<float> utreeScores;  //user tree unweighted scores
-               vector<float> WScoreSig;  //tree weighted score signifigance when compared to random trees - percentage of random trees with that score or lower.
+               vector<double> utreeScores;  //user tree unweighted scores
+               vector<double> WScoreSig;  //tree weighted score signifigance when compared to random trees - percentage of random trees with that score or lower.
                vector<string> groupComb; // AB. AC, BC...
                Tree* randT;  //random tree
                TreeMap* tmap;
@@ -38,9 +38,9 @@ class UnifracWeightedCommand : public Command {
                int iters, numGroups, numComp;
                EstOutput userData;                     //weighted score info for user tree
                EstOutput randomData;           //weighted score info for random trees
-               vector< vector<float> > validScores;  //vector<contains scores from both user and random> each group comb has an entry
-               vector< vector<float> > rScores;  //vector<weighted scores for random trees.> each group comb has an entry
-               vector< vector<float> > uScores;  //vector<weighted scores for user trees.> each group comb has an entry
+               vector< vector<double> > validScores;  //vector<contains scores from both user and random> each group comb has an entry
+               vector< vector<double> > rScores;  //vector<weighted scores for random trees.> each group comb has an entry
+               vector< vector<double> > uScores;  //vector<weighted scores for user trees.> each group comb has an entry
                                                                
                ofstream outSum, out;