-
Notifications
You must be signed in to change notification settings - Fork 44
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
Issue with the loop in the code #513
Comments
|
a) At which step does the R session crash? b) Where is tmp defined? c) What are the dimensions of genotype? |
I guess you're using too many variants for computing the LD. I don't know what you want to do with these very large LD matrices, but if you want to use these to run LDpred2 on 11M variants, there are several issues here discussing why this is not recommended for now. In case you really want to compute these matrices for something else, I would recommend computing and storing all these |
Hello Florian,
Issue1:
I am currently trying to do a PRS, however, I am facing a problem, that is, R studio is getting aborted each time I start sunning the loop from here.
These are the codes I am using:
(I have followed this too: To use the “compact” format for SFBMs, you need packageVersion("bigsparser") >= package_version("0.5"). Make sure to reinstall {bigsnpr} after updating {bigsparser} to this new version (to avoid crashes). - even though I have a version >= 0.5, the system still seems to get aborted).
Issue 2:
When I ran the codes the second time, the script shows that tmp does not exist and the loop continues to run. This time it does not get aborted but just keeps running all night. (Is there an average based on your expertise, how long the loop usually take?) - even though there was tmp in the environment.
The text was updated successfully, but these errors were encountered: