I am trying to called mesusie_core and getting the following error:
Error in sqrt(XtX.diag[[x]]) :
non-numeric argument to mathematical function
Calls: XtX_pro -> lapply -> FUN -> diag
Execution halted
I traced through the source code and first had to troubleshoot the issue that the underlying code needs a column called "Se" not "SE." Then, I was able to recreate the error from the package.
The issue occurs because in the XtX_pro function, XtX.diag has no names. When the XtX_diag function is called, the names are lost. I'm not sure if this is possibly an R versioning issue, but please let me know if there's something I'm doing wrong!
I am trying to called mesusie_core and getting the following error:
I traced through the source code and first had to troubleshoot the issue that the underlying code needs a column called "Se" not "SE." Then, I was able to recreate the error from the package.
Here is the code I'm running:
The issue occurs because in the
XtX_pro
function,XtX.diag
has no names. When theXtX_diag
function is called, the names are lost. I'm not sure if this is possibly an R versioning issue, but please let me know if there's something I'm doing wrong!