X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurmetastats.cpp;fp=mothurmetastats.cpp;h=a4f879e9a11579ca907d40ad4e0bdbb002f7f8d2;hb=7f0cae4f4853cc3f12bc751ee06ea31c7c97496e;hp=31542e80fe9f2d2b01c9d07cd97501954e841bcf;hpb=113672689e4c84383a0304bfd21fb9574a77866c;p=mothur.git diff --git a/mothurmetastats.cpp b/mothurmetastats.cpp index 31542e8..a4f879e 100644 --- a/mothurmetastats.cpp +++ b/mothurmetastats.cpp @@ -512,6 +512,7 @@ vector MothurMetastats::calc_qvalues(vector& pValues) { } } + //from R code - replacing with spline and splint below //vector f_spline = smoothSpline(lambdas, pi0_hat, 3); //double pi0 = f_spline[(f_spline.size()-1)]; // this is the essential pi0_hat value