Closed DUAN-GAO closed 2 months ago
Which function? Can you provide a bit more detail?
pred_auto <- big_prodVec(G_iPSCs_002, beta_auto * map_pgs2_iPSCs_002$beta,
- ind.col = df_beta[["_NUMID"]],
- ncores = 16)
Error: Tested 13641 < 13641. Subscript out of bounds. In addition: Warning message: In beta_auto * map_pgs2_iPSCs_002$beta : longer object length is not a multiple of shorter object length
It went all fine until this step.
If change the ind.col parameter to the same object as beta_auto*
pred_auto <- big_prodVec(G_iPSCs_002, beta_auto * map_pgs2_iPSCs_002$beta,
- ind.col = map_pgs2_iPSCs_002[["_NUMID"]],
- ncores = 16)
then got this error instead
Error: Incompatibility between dimensions. 'y.col' and 'ind.col' should have the same length. In addition: Warning message: In beta_auto * map_pgs2_iPSCs_002$beta : longer object length is not a multiple of shorter object length
Two issues here I guess:
beta_auto
and map_pgs2_iPSCs_002$beta
do not have compatible dimensionsind.col = df_beta[["_NUM_ID_"]]
should be the column indices used in G_iPSCs_002
; this means that max(df_beta[["_NUM_ID_"]])
should be lower or equal to ncol(G_iPSCs_002)
Any update on this?
Hello, encountered following bug: Error: Tested 13641 < 13641. Subscript out of bounds. could u help, many thanks.