]> git.donarmstrong.com Git - mothur.git/blobdiff - mothur.h
added cooccurence command
[mothur.git] / mothur.h
index 3b7c4599329aede91be3f6325d27df1accf77c03..57b409e51605df2d0dbab805e3d8b1b7060e7b3e 100644 (file)
--- a/mothur.h
+++ b/mothur.h
@@ -42,6 +42,7 @@
 #include <cmath>
 #include <math.h>
 #include <algorithm>
+#include <numeric>
 
 //misc
 #include <cerrno>
@@ -106,6 +107,19 @@ struct ThreadNode {
        IntNode* right;
 };
 
+struct diffPair {
+       float   prob;
+       float   reverseProb;
+       
+       diffPair() {
+               prob = 0; reverseProb = 0;
+       }
+       diffPair(float p, float rp) {
+               prob = p;
+               reverseProb = rp;
+       }
+};
+
 /************************************************************/
 struct clusterNode {
        int numSeq;