-
Notifications
You must be signed in to change notification settings - Fork 35
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 in matrix(NA, nrow = nfolds, ncol = numi2) : invalid 'ncol' value (too large or NA) #61
Comments
Hello!I seem to find this issue. Maybe you have to make sure your phenotype data is conbined with c(1,0).If your phenotype data type is factor, run the next code :phenotype <- as.numeric(as.character(phenotype)) to make sure data with c(1,0).Because this package code will check the data,if both 0 and 1 are existing, code will go on. |
It really works! |
I do the transformation as the above code:phenotype <- as.numeric(as.character(phenotype)), However, it did not work with the same error:Error in matrix(NA,nrow =nfolds,ncol=numi2): |
Here are my codes:
|
Error in matrix(NA, nrow = nfolds, ncol = numi2) : invalid 'ncol' value (too large or NA)
what should I do?
Does anyone encounter this error?
The text was updated successfully, but these errors were encountered: