-
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
Error: Incompatibility between dimensions when running big_prodMat() #237
Comments
How to handle missing values is a pinned issue here. Just running |
Good morning Dr. Thank you for your prompt response and my apologies for starting an issue that was already mentioned before. I ran snp_fastImputeSimple(G) and then reran pred_grid <- big_prodMat(G, beta_grid, ind.row = ind.val2, ind.col = df_beta[["NUM_ID"]]) The error went from "Cannot have missing values in 'X'" before the imputation to "imcompatibility between dimensions". Should I rerun the analysis from the beginning, after that? Also I was hoping you could help with a concern I have. I tried calculation LD correlation genome-wide using corr0 <- snp_cor(G, infos.pos = 1000 * CHR + POS2, size = 3 / 1000, ncores = NCORES). Is it normal that the operation takes several hours? Or is something wrong with the way I do it? Any insight will be greatly appreciated. With regards, |
Please try to keep issues separated; open a new one if you need to. Let's focus on the error of incompatible dimensions here. |
My apologies, I just submitted a new issue for the second question. The error of incompatible dimensions arose after running big_prodMat(G2, ...) with G2 <- snp_fastImputeSimple(G) |
It probably means that |
I just checked and they are the same. See below, nrow(beta_grid)
|
Please reinstall |
Thank you do much Dr. |
UPDATE using G2 <- snp_fastImputeSimple(G) helped take care of the error message. Thank you! |
Good morning Dr. Privé,
I hope this finds you well. I have an issue and was hoping you could help.
When I try to run the following line: pred_grid <- big_prodMat(G, beta_grid, ind.row = ind.val2, ind.col = df_beta[["NUM_ID"]]);
I automatically get an error message saying "error: you can't have missing values in 'X').
I tried using the snp_fastImputeSimple(G) to impute missing values but then I get another error message "error: Incompatibility between dimensions".
Could you please provide some insight on how to manage the error messages?
Thank you very much!
With kind regards,
The text was updated successfully, but these errors were encountered: