X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurfisher.h;fp=mothurfisher.h;h=2742f97213e7bc99a080143b4d91e061dca7b2d0;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/mothurfisher.h b/mothurfisher.h new file mode 100644 index 0000000..2742f97 --- /dev/null +++ b/mothurfisher.h @@ -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 +