title: FDR Error fdrtool in R
body: <p>Iam using fdrtool for my pvalues but i have an error which is :</p>
  
  <p>Error in if (max(x) > 1 | min(x) &lt; 0) stop("input p-values must all be in the range 0 to 1!") : missing value where TRUE/FALSE needed</p>
  
  <p>The p value are not less than 0,greater than 1.
   The range of p value are [1,0].  the code is :</p>
  
  <pre><code>   n=40000
  
   pval1&lt;-vector(length=n)
  
   pval1[1:n]= pv1list[["Pvalue"]]
  
   fdr&lt;-fdrtool(pval1,statistic="pvalue")
  </code></pre>