-
Notifications
You must be signed in to change notification settings - Fork 471
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
%%R -i data_ent #49
Comments
Hi @hatuyen4994, I notice that you have adapted the notebook code for Scanpy 1.5+ and a newer AnnData version as well. That's great, but unfortunately this also brings with it some
should do the trick. You would of course have to move this back later if you plan to continue working with the object. You can check if this is the problem by just running an cell with:
To see if the same error occurs. If the same error occurs there, I would suggest a you post a github issue to |
Hi, I have a similar issue I guess. AnnData object can not be read into R.
The fix you suggested @LuckyMD above did not help. Packages are: Would greatly appreciate help! |
Hi @mliiv, You can check which column of |
Hi @LuckyMD , |
no, that is just a question of how many columns you display in your jupyter notebook. You should be able to check |
There you go... yes, it's the |
It worked, thank you very much! Don't know how this one column changed like this, but such weird things happen when going through loom<->h5ad files back and forth, I guess. |
Any follow-ups to this question? I've also encountered the same problem as @hatuyen4994 in trying to reproduce the results of the tutorial. The
Anyone would like to post the data structure of |
Hi @jasonz-dot, I am working to update the tutorial version to scanpy 1.6 compatibility. One part of that is indeed just replacing |
The
but when I run the following commands
I still got the same error. So I'm guessing there may be some other bugs that caused the problem. Definitely looking forward to the updated tutorial! Thanks for the hardworking. |
You would need to remove the |
I run the command |
I am also having the same issue. While I run
but the issue persists. Any suggestion on how to solve this please? |
Hi @galib36, Your issue is not related to AnnData>0.7.1, and maybe should be reported in a separate issue. It seems instead that some indices in your |
@jasonz-dot what error is it that you are getting? It would probably be good to report this in a separate issue. |
I've done the same and have the excatly same issue here! |
Could you check |
Hi @zenghua-git, I haven't seen your full error traceback, but if it's the same as the OP above, then the issue lies in I would be nice to find the root of this error though. Could it be that your object was subsetted before running slingshot? In that case you may need to ensure that the indices in the sparse matrices are contiguous. For
|
My error was exactly the same as the first post (hatuyen4994).
Right, removing 'uns, 'varm', 'obsp' did work. You're right, my object was subsetted before running slingshot. Your code didn't work for me, and it still shows the same error before removing those slots, though I changed a little of the code (sparse --> scipy.sparse)
|
Hi.
Thank you for a very thorough and excellent guide.
I've encountered a a type error while running the cell in the slingshot section. Error starts at the first line of the cell.
%%R -i adata_ent
Here's is my adata_ent before input in the cell :
Thank you for looking into this.
Regards,
T
The text was updated successfully, but these errors were encountered: