]> git.donarmstrong.com Git - mothur.git/blobdiff - kruskalwalliscommand.h
updated kruskalwallis struct
[mothur.git] / kruskalwalliscommand.h
index 3b5fdcea8975ecc774116fc4f8a824d0db8e64aa..1aadb16e807c8e69d563f4a94abe23dc74c26d19 100644 (file)
@@ -11,7 +11,6 @@
 #include "command.hpp"
 
 
-
 class KruskalWallisCommand : public Command {
    
 public:
@@ -29,17 +28,19 @@ public:
        string getDescription()         { return "Non-parametric method for testing whether samples originate from the same distribution."; }
     
     struct groupRank {
-        sstring group;
+        string group;
         double value;
         double rank;        
     };
     
     int execute(); 
        void help() { m->mothurOut(getHelpString()); }
-    void assignRank(vector<groupRank>);
+    void assignRank(vector<groupRank>&);
+    
     
 private:
     string outputDir;
+    bool abort;
     vector<int> counts;
     vector<double> rankSums;
     vector<double> rankMeans;