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
computeSumFactors(data_mat, clusters=input_groups, min.mean=0.1) gives error #40
Comments
Hi, So it seems that within the object you have moved to |
Hi, thanks for the answer :D! These are my versions but I cant find wich versions of scran and SingleCellExperiment that are required for the tutorial: R -> 4.0.0 |
So this has not been tested for the newest version of |
Hi again, thanks for the answers! Im a new linux and R user so Im trying to replicate your tutorial like it says in the README Could you tell me which version of conda were you using for this tutorial? I used sc_tutorial_environment.yml to create my environment and I get R 4.0.0 (maybe if I install a previous version of conda I could get R 3.5) [conda version : 4.8.3; conda-build version : 3.18.11] Im trying to downgrade R with this command while in the environment created for this tutorial: I also tried to create a new environment with r==3.5 and then install the R packages but Im getting "installation of package ‘nameOfPackage’ had non-zero exit status" when trying to install the packages used in latest_notebook |
Hi @ariberar, I guess we did not control the version of What should make things easier though, is a docker that @le-ander created. Could you link to your docker hub url here, @le-ander? |
Thank you so much for this tutorial and the answers!! I have uninstalled anaconda and installed R 3.6.3 from r-project, rstudio, spyder, jupyter notebooks.
I was able to install all the packages required by the tutorial (the latest versions) without problems and run the first sections of the code.
To concatenate the anndata objects I had to add
With this new setup I was able to run computeSumFactors() but I got the following error "'ncol(x)' is not equal to 'length(clusters)'" so I changed |
Hi @ariberar, I'm glad things are working out for you! |
You are absolutely right. That line of code is on the tutorial script. I must have changed it before when I was trying to find out a fix to the function error in R. |
In the example data in the notebook it's not needed i think... (and wasn't it automatically called anyway?). But yes, if needed it should be called ;). |
I just wanted to add, that the problem can be solved with removing the conda environment and reinstalling it with r-base+3.5 added to the yaml file. |
@le-ander — the container pushed 4 days ago ( |
yep, this is already fixed in a new version of the notebook. we are currently working on finalising it for publication here. |
Hello! I'm running into the same |
Hey! Please check #60 for a fix. Still working to get the latest version up to date I'm afraid. |
Ah, perfect! That worked. Thanks so much, and sorry I missed seeing issue #60. |
I can run everything without problem until these lines:
where I get this error:
Any idea whats going on here?
Im using the original code except for these lines that I commented:
#adata.var['gene_id'] = adata.var['gene_id-1']
#adata.var.drop(columns = ['gene_id-1', 'gene_id-0'], inplace=True)
The text was updated successfully, but these errors were encountered: