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

lpsymphony not returning a solution #4

Open
jmerkin opened this issue Sep 1, 2017 · 2 comments
Open

lpsymphony not returning a solution #4

jmerkin opened this issue Sep 1, 2017 · 2 comments

Comments

@jmerkin
Copy link

jmerkin commented Sep 1, 2017

Hello. I'm able to reproducibly run into this error with the a proprietary dataset (I work for a small biotech) that I unfortunately can't share, but I'll try to communicate and share what I can.

sym_get_col_solution(): No solution has been stored!
Error in if (all(ts == 0)) { : missing value where TRUE/FALSE needed
Calls: ihw_internal -> ihw_convex -> thresholds_to_weights

It looks like lpsymphony is having trouble. My guess is ts is all NA. Have you experienced this before or know what could cause it?

@jmerkin
Copy link
Author

jmerkin commented Sep 1, 2017

Actually, I can share the pvalues and weights.

I'm not doing anything crazy.

>ihwRes = ihw(pval ~ weight, data=table, alpha=.1, nbins=4)

returns
sym_get_col_solution(): No solution has been stored! Error in if (all(ts == 0)) { : missing value where TRUE/FALSE needed

>ihwRes = ihw(pval ~ weight, data=table, alpha=.1) (without specifying the number of bins)

raises the warning

sym_get_col_solution(): No solution has been stored!

but returns a result.

table.txt

`> sessionInfo()
R version 3.3.3 (2017-03-06)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

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

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

other attached packages:
[1] readr_1.0.0 IHW_1.0.2 BiocInstaller_1.22.3

loaded via a namespace (and not attached):
[1] tools_3.3.3 parallel_3.3.3 tibble_1.3.3
[4] Rcpp_0.12.11 slam_0.1-40 fdrtool_1.2.15
[7] BiocGenerics_0.18.0 rlang_0.1.1 lpsymphony_1.0.2`

@wolfganghuber
Copy link
Collaborator

wolfganghuber commented Sep 2, 2017 via email

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