]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.h
changed unifrac.weighted()
[mothur.git] / unifracweightedcommand.h
index 45d3c7cec25d4d80448d32beeaa212a92295d366..9deef732bfe100e27b99fb2e30551de0256e453e 100644 (file)
  *
  */
 
-#include <iostream>
-#include <fstream>
-#include <vector>
-#include <map>
-#include <cmath>
 #include "command.hpp"
 #include "weighted.h"
 #include "treemap.h"
@@ -39,7 +34,7 @@ class UnifracWeightedCommand : public Command {
                Tree* randT;  //random tree
                TreeMap* tmap;
                Weighted* weighted;
-               string weightedFile, sumFile, distFile;
+               string weightedFile, sumFile;
                int iters, numGroups, numComp;
                EstOutput userData;                     //weighted score info for user tree
                EstOutput randomData;           //weighted score info for random trees
@@ -52,11 +47,12 @@ class UnifracWeightedCommand : public Command {
                map<float, float>::iterator it;
                map<float, float>::iterator it2;
                
-               ofstream outSum, outDist, out;
+               ofstream outSum, out;
                
                void printWSummaryFile();
                void printWeightedFile();  
-               void saveRandomScores(); 
+               void saveRandomScores();
+               void setGroups(); 
 };