-
Notifications
You must be signed in to change notification settings - Fork 46
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 when running init(sclvm,Y=Y,tech_noise = tech_noise) #15
Comments
I am also having this issue. Any help would be appreciated. |
This seems to be an issue with a specific R-python combination which I couldn't reproduce. Try this workaround: When attaching the package, this line is normally executed: python.load(system.file("pysrc","init_data.py",package="scLVM“)) |
This work around worked well for the init function, but I got a very similar error when trying to run Ycorr = getCorrectedExpression(sclvm) Error in python.exec(paste("Ycorr = ", objName, ".getCorrectedExpression(rand_eff_ids)", : Is there a similar work around? |
I had a similar problem with this. My problem went away when I correctly installed rPython. First, make sure your ~/bash_To do this, download a new rPython package and open your terminal and type these commands python --version Now go into R and type library(rPython) and verify that it is the same. When you load the scLVM package more than once, it doesn't give the same error about differing versions of python between the system and rPython versions. |
I have the same problem. I tried set "export RPYTHON_PYTHON_VERSION=2.7.13", and "R CMD INSTALL rPython_0.0-6.tar.gz", but when I check like this: I got something like: |
I'm sure that my rPython was installed correctly now, but there was something wrong with scLVM like below:
And when I tried to install deprecated like below: |
Also having this problem with "deprecated". This is caused by the attempt to import limix.deprecated. From what I gather at some point they deprecated a whole version of LIMIX, they then deprecated that whole LIMIX package and made a new one with the same name. Now the new one does not have the deprecated version included and I assume this is the version installed by pip, so scLVM will not find limix.deprecated. If the new version is backwards compatible then it may be possible to simply import limix rather than limix.deprecated, otherwise one would need to install the deprecated version of limix to get this software to work. |
@BinDuan unfortunately rPython does not work with Anaconda python (also check out the rPython docs), maybe try to use the one that came with your OS? I have fixed the "deprecated" problem though which occurred due to some changes in the latest release of limix. |
Thank you for your reply, I have fixed the problem by using the default python on the server.
At 2017-06-21 04:46:58, "flophys" <notifications@github.com> wrote:
@BinDuan unfortunately rPython does not work with Anaconda python (also check out the rPython docs), maybe try to use the one that came with your OS? I have fixed the "deprecated" problem though which occurred due to some changes in the latest release of limix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
郁逸菲:
调研了ml包里的几个算法,准备研究有什么可以用的地方。
危志庭:
第一篇文献的结果重复没问题,第二篇的重复有以下两个问题:
1.觉得文献所用的方法不是很合理;
2.文献的一些过滤条件目前不知道怎么做;
下个礼拜把已有结果整理一下,希望和老师您讨论一下。
段斌:
目前主要是sgrna敲除效率矫正和脱靶矫正问题。这两个问题之前的工作都没有做多少分析,尤其是脱靶问题。对于脱靶问题的解决方法和您已经讨论过,第一种矫正策略想了想还是没有什么好的办法,或许只能是第二种简单策略了。
|
Hi,
I have already installed scLVM R package and limix (from anaconda) and is trying to go through the vignette. However, I encountered the following error when running init(sclvm,Y=Y,tech_noise = tech_noise):
Loading required package: rPython
Loading required package: RJSONIO
Error in python.exec(paste(objName, " = scLVM(Y,geneID=geneID,tech_noise=tech_noise)", : name 'scLVM' is not defined
All the previous code are exactly the same as the ones in the vignette. I am wondering why this error occurs and how to fix it. Thanks!
Below is the sessioninfo:
The text was updated successfully, but these errors were encountered: