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

Error runing runBBKNN function & Shiny app not working #702

Open
siwending opened this issue Jun 29, 2023 · 2 comments
Open

Error runing runBBKNN function & Shiny app not working #702

siwending opened this issue Jun 29, 2023 · 2 comments

Comments

@siwending
Copy link

siwending commented Jun 29, 2023

I encountered a problem when I correct the batch effect with the runBBKNN method. Here is the code I used:
sce <- scaterlogNormCounts(inSCE = sce, useAssay = 'counts', assayName = 'logcounts')
sce <- runBBKNN(inSCE = sce, batch="orig.ident")
And here is what I got:
E1

However, I'm pretty sure bbknn was installed, but R failed to recognize it. When installing singlecellTK, I followed the guide, and ran the followling command, but bbknn was still not recognized by R.
E2

Also, the shiny app does not seem to be working at this moment.

Any help will be greatly appreciated! Thank you!

Best,
Bella

@joshua-d-campbell
Copy link
Collaborator

Hi @siwending, thanks for trying out our tool. It is a bit hard to diagnose from this information. Could you run the following code:

reticulate::py_config()

This will tell us what version of python is being used. It is possible that another version of python is currently being selected. Once a version is selected, it can't be unselected until R is restarted. Also could you run:

sessionInfo()

So we can see the versions of the packages you are currently using.

Lastly, we have restarted the online app, so it should be working now.

@siwending
Copy link
Author

Hi @joshua-d-campbell, thanks for getting back to me! Here is the result from reticulate::py_config():
Screenshot 2023-07-11 at 1 01 12 AM
From py_config, it shows that the version of python being used comes from the sctk-reticulate condo env install from the sctkPythonInstallConda() command. It should be correct.

And here is what I get from sessionInfo():
Screenshot 2023-07-11 at 1 01 00 AM
I follow the singleCellTK installation tutorial to install the package, but it seems like the version is 2.10.0 which higher than the released 2.8.1. Not sure what is going on here. Will this cause the entire issue?

Again, appreciate all of your effort!

Thanks,
Bella

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

2 participants