X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurfisher.h;fp=mothurfisher.h;h=88557d4656eb639ff5a19be66489857551faa50a;hb=19fcbbdba99658f5eca244803280f9ee7f9f6607;hp=0000000000000000000000000000000000000000;hpb=65b6a38d00b3a72021611211e7c25392022c69ed;p=mothur.git diff --git a/mothurfisher.h b/mothurfisher.h new file mode 100644 index 0000000..88557d4 --- /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 hyper(double); + double hyper0(double, double, double, double); + double exact(double, double, double, double); +}; + + +#endif +