]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurfisher.h
Revert to previous commit
[mothur.git] / mothurfisher.h
diff --git a/mothurfisher.h b/mothurfisher.h
new file mode 100644 (file)
index 0000000..2742f97
--- /dev/null
@@ -0,0 +1,39 @@
+#ifndef MOTHUR_FISHER
+#define MOTHUR_FISHER
+
+/*
+ *  mothurfisher.h
+ *  Mothur
+ *
+ *  Created by westcott on 7/8/11.
+ *  Copyright 2011 Schloss Lab. All rights reserved.
+ *
+ */
+
+
+#include "mothurout.h"
+
+class MothurFisher {
+       
+public:
+       MothurFisher(){}
+       ~MothurFisher(){}
+       
+       double fexact(double, double, double, double);
+       
+private:
+       MothurOut* m;
+       double sleft, sright, sless, slarg;
+       double sn11,sn1_,sn_1,sn,sprob;
+       double lngamm(double);
+       double lnfact(double);
+       double lnbico(double, double);
+       double hyper_323(double, double, double, double);
+       double myhyper(double);
+       double hyper0(double, double, double, double);
+       double exact(double, double, double, double);
+};
+
+
+#endif
+