Skip to content
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

Trouble running scPredict #8

Open
suminwei2772 opened this issue Mar 13, 2020 · 2 comments
Open

Trouble running scPredict #8

suminwei2772 opened this issue Mar 13, 2020 · 2 comments

Comments

@suminwei2772
Copy link

Hi,
I'm encountering the following problem when running scPredict:

 scp <- scPredict(object = scp, newData = test_data, threshold = 0.5)
Predicting cell types
  |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=01m 07s
Error in `.rowNamesDF<-`(x, value = value) : invalid 'row.names' length
In addition: Warning message:
In method$prob(modelFit = modelFit, newdata = newdata, submodels = param) :
  kernlab class probability calculations failed; returning NAs

My test data is properly formatted (gene names as rows, and cell names as columns). I tried also to adjust the threshold but the error persists. Would you know what is the problem?
Thank you,
Lisa

@BinDuan
Copy link

BinDuan commented Apr 7, 2021

I have the same problem. Would somebody know what is the problem?

@SmritiChawla
Copy link

I had same issue. Can we have solution for this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants