Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control contains unknown parameter #126

Open
msarguru opened this issue Apr 15, 2021 · 2 comments
Open

control contains unknown parameter #126

msarguru opened this issue Apr 15, 2021 · 2 comments

Comments

@msarguru
Copy link

Hi Stephen,

Running the example lines for ashr using "ash" function, throws the following error. Sessioninfo below.
Planning to use ashr on GWAS summary stat.
Looking forward to hear your suggestions. Many thanks ++

Error in mixsqp::mixsqp(A, w, pi_init, control = control) : 
  Argument "control" contains unknown parameter names
beta = c(rep(0,100),rnorm(100))
sebetahat = abs(rnorm(200,0,1))
betahat = rnorm(200,beta,sebetahat)
beta.ash = ash(betahat, sebetahat)
SESSIONINFO
other attached packages:
[1] devtools_2.3.0 usethis_1.6.1  ashr_2.2-51   

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.6        magrittr_1.5      pkgload_1.0.2     SQUAREM_2021.1   
 [5] lattice_0.20-41   R6_2.4.1          rlang_0.4.10      fansi_0.4.1      
 [9] tools_3.6.1       pkgbuild_1.2.0    grid_3.6.1        sessioninfo_1.1.1
[13] cli_2.0.2         invgamma_1.1      withr_2.4.1       remotes_2.2.0    
[17] ellipsis_0.3.1    rprojroot_1.3-2   assertthat_0.2.1  digest_0.6.25    
[21] crayon_1.3.4      processx_3.5.0    mixsqp_0.3-43     Matrix_1.2-18    
[25] callr_3.5.1       fs_1.4.1          ps_1.3.2          curl_4.3         
[29] testthat_2.3.2    memoise_1.1.0     glue_1.4.1        compiler_3.6.1   
[33] backports_1.1.7   desc_1.2.0        prettyunits_1.1.1 truncnorm_1.0-8  
@pcarbo
Copy link
Collaborator

pcarbo commented Apr 15, 2021

@msarguru Can you please try installing the latest version of mixsqp available here? Does that fix the issue?

@msarguru
Copy link
Author

@pcarbo
Thank you very much, this resolved the issue...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants