X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurmetastats.h;h=4d6cf9166816f9f775e97eedc8a3231ec6daecd8;hb=1a968f34ae2d2680eaf189a197d1a21b8dfd6c03;hp=229ffb65a401b61472dad302677037161ce27642;hpb=7f0cae4f4853cc3f12bc751ee06ea31c7c97496e;p=mothur.git diff --git a/mothurmetastats.h b/mothurmetastats.h index 229ffb6..4d6cf91 100644 --- a/mothurmetastats.h +++ b/mothurmetastats.h @@ -23,27 +23,26 @@ class MothurMetastats { private: MothurOut* m; - int row, column, numPermutations; + int row, column, numPermutations, secondGroupingStart; double threshold; - + + vector permuted_pvalues(vector< vector >&, vector&, vector< vector >&); + vector permute_and_calc_ts(vector< vector >&); + int start(vector&, int, vector&, vector< vector >&); //Find the initial values for the matrix int meanvar(vector&, int, vector&); int testp(vector&, vector&, vector&, int, vector&, vector&); int permute_matrix(vector&, vector&, int, vector&, vector&, vector&); int permute_array(vector&); int calc_twosample_ts(vector&, int, vector&, vector&, vector&); - vector smoothSpline(vector, vector, int); + double smoothSpline(vector&, vector&, int); vector calc_qvalues(vector&); - vector sknot1(vector); + vector sknot1(double*, int); int nkn(int); int OrderPValues(int, int, vector&, vector&); int swapElements(int, int, vector&, vector&); vector getSequence(int, int, int); - int spline(vector&, vector&, int, int, vector&); - int splint(vector&, vector&, double&, double&, vector&); - - }; #endif