StoreyLab / qvalue

R package to estimate q-values and false discovery rate quantities.
110 stars 36 forks source link

Error in predict(spi0, x = lambda) #28

Open cccfran opened 3 years ago

cccfran commented 3 years ago

I got the following error when running qvalue() function:

Error in predict(spi0, x = lambda) : unused argument (x = lambda)

Here's my session info:

R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

Random number generation:
 RNG:     Mersenne-Twister 
 Normal:  Inversion 
 Sample:  Rounding 

locale:
 [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C          
 [3] LC_TIME=C.UTF-8        LC_COLLATE=C.UTF-8    
 [5] LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
 [7] LC_PAPER=C.UTF-8       LC_NAME=C             
 [9] LC_ADDRESS=C           LC_TELEPHONE=C        
[11] LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   

attached base packages:
[1] stats     graphics  grDevices utils    
[5] datasets  methods   base     

other attached packages:
[1] qvalue_2.15.0  devtools_2.3.2 usethis_2.0.1 
[4] optparse_1.6.6

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.6        plyr_1.8.6       
 [3] compiler_4.0.3    pillar_1.4.7     
 [5] prettyunits_1.1.1 remotes_2.2.0    
 [7] tools_4.0.3       testthat_3.0.2   
 [9] pkgbuild_1.2.0    pkgload_1.1.0    
[11] memoise_2.0.0     lifecycle_1.0.0  
[13] tibble_3.0.6      gtable_0.3.0     
[15] pkgconfig_2.0.3   rlang_0.4.10     
[17] DBI_1.1.1         cli_2.3.0        
[19] rstudioapi_0.13   curl_4.3         
[21] fastmap_1.1.0     stringr_1.4.0    
[23] dplyr_1.0.3       withr_2.4.1      
[25] generics_0.1.0    vctrs_0.3.6      
[27] desc_1.2.0        fs_1.5.0         
[29] tidyselect_1.1.0  rprojroot_2.0.2  
[31] grid_4.0.3        getopt_1.20.3    
[33] glue_1.4.2        R6_2.5.0         
[35] processx_3.4.5    sessioninfo_1.1.1
[37] reshape2_1.4.4    callr_3.5.1      
[39] purrr_0.3.4       ggplot2_3.3.3    
[41] magrittr_2.0.1    splines_4.0.3    
[43] scales_1.1.1      ps_1.5.0         
[45] ellipsis_0.3.1    assertthat_0.2.1 
[47] colorspace_2.0-0  stringi_1.5.3    
[49] munsell_0.5.0     cachem_1.0.1     
[51] crayon_1.4.1 

Thanks!

ravipatel4 commented 2 years ago

@cccfran, I know it's a long shot since it's been over a year, but were you able to fix this error? I get the same error.

RLau0 commented 1 year ago

@ravipatel4 @cccfran Was a solution found? I am also getting the same error. I have 13030 p values so it is not the issue of the number of p values being too few. Any help would be greatly appreciated. Thank you.

jdstorey commented 1 year ago

I cannot reproduce this error. Does someone have a working example?

drjingma commented 1 month ago

Hello, I also encountered the same error. Here is the list of pvalues I used. test_qvalue.csv

ajbass commented 3 weeks ago

@drjingma I don't see an error when qvalue is applied to your dataset. Can you send the code you used to run (session info as well)?