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

NameError: name 'analysis' 'np' 'plt' is not defined when running the MERFISH_POA.ipynb #1

Open
neugun opened this issue Apr 16, 2020 · 2 comments

Comments

@neugun
Copy link

neugun commented Apr 16, 2020

Hi! Really nice tool. I found the ssam is really interesting and I am a new starter with the R. When I am trying to run the MERFISH_POA.ipynb within the Jupyter notebook, there throw me serval errors while I running it.

First, NameError: name 'analysis' 'np' and 'plt' are not defined and I attached a example error below.

NameError Traceback (most recent call last)
in
1 # this requires local R installation with packages 'sctransform' and 'feather'
----> 2 analysis.normalize_vectors_sctransform()
NameError: name 'analysis' is not defined

Second, this requires local R installation with packages 'sctransform' and 'feather'. I usually conda install r-packages. but It doesn't work at this time, maybe I didn't make a successful local R installation with packages 'sctransform' and 'feather'. Do you have any suggestions for installing these packages?

Thank you so much!
Best,
Wegood

@pjb7687
Copy link
Member

pjb7687 commented Oct 10, 2020

Hi, I will update the requirements for the package. For conda installation of R packages I noticed that you also need to install openblas libraries with sctransform otherwise it throws error. I think the dependency is currently missing in the sctransform package.

@pjb7687
Copy link
Member

pjb7687 commented Oct 11, 2020

In addition, conda package r-sctransform 0.3.1 seems to be broken. Would you also try installing 0.2.1 instead.

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