Open seasonzhao opened 2 months ago
Error in matrix(NA, nrow = nfolds, ncol = numi2) : invalid 'ncol' value (too large or NA)
what should I do? Does anyone encounter this error?
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.
Error in matrix(NA, nrow = nfolds, ncol = numi2) : invalid 'ncol' value (too large or NA)
what should I do? Does anyone encounter this error?