-
Notifications
You must be signed in to change notification settings - Fork 15
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
Model is empty! #11
Comments
When I tried your tutorial, with your own data, I get the error:
Traceback: 16: stop("Model is empty!") Thanks. |
Hi all, I got the same error:
Any advice would be appreciated, thanks! |
#11 (comment) I got similar error when I run cibersort with some of my own data. Now I figured our the problem is that the labels of geneID are slightly different. It works after I fixed the labels |
When I tried to use my own data, I got the bug information. I tested using the sample data, it worked. But my data was failed to run.
fit <- bseqsc_proportions(bulk, B, verbose = TRUE)
Show Traceback
Rerun with Debug
Error in predict.svm(ret, xhold, decision.values = TRUE) :
Model is empty!
Traceback:
12.
stop("Model is empty!")
11.
predict.svm(ret, xhold, decision.values = TRUE)
10.
predict(ret, xhold, decision.values = TRUE)
9.
na.action(predict(ret, xhold, decision.values = TRUE))
8.
svm.default(X, y, type = "nu-regression", kernel = "linear",
nu = nus, scale = F)
7.
svm(X, y, type = "nu-regression", kernel = "linear", nu = nus,
scale = F) at CIBERSORT.R#58
6.
FUN(X[[i]], ...)
5.
lapply(X, FUN, ...)
4.
mclapply(1:svn_itor, res, mc.cores = 1) at CIBERSORT.R#62
3.
CoreAlg(X, y, absolute, abs_method) at CIBERSORT.R#200
2.
CIBERSORT(xf, yf, ...)
1.
bseqsc_proportions(bulk, B, verbose = TRUE)
The text was updated successfully, but these errors were encountered: