-
Notifications
You must be signed in to change notification settings - Fork 57
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 running dyn.tl.moments() #72
Comments
Hey @ccruizm thanks for your interest in dynamo! My immediate thought regarding this error is that you got a few non-standard layers (especially those norm_data, scale_data layers). To filter this possibility, could you please first deleting
and then run
We still need to figure out the exact issue and would like to use your other norm or scaled layer inform. So in order to reproduce your error, if you can share me with a small sample of your dataset (like 100 cells), I can do some more careful investigations to have an ideal solution. (I probably can also fake an anndata object like yours too) btw, for keys in .obsm, the anndata convention is to have a |
I just tested and found that the issue is indeed because of the existence of
dyn.pp.recipe_monocle(adata)
|
I think my recent commit should fix this issue. now dynamo automatically checks your layer inform and avoids normalizing data that are not conventional. so you will only added p.s. running something like the following without worrying about those unconventional layers anymore:
|
Thanks so such for the quick reply and fixing the issue! Now it works smoothly! |
Good day!
Thanks for developing this great tool! I am trying to analyze some of my data but had a problem when running
dyn.tl.moments()
. I have exported my Seurat object as loom file and usingscvelo
, I have read and merged the new anndata object with the splicing info.Then, I applied the
dyn.pp.recipe_monocle(adata)
:But when trying to run either first
dyn.tl.moments(adata)
ordyn.tl.dynamics(adata)
directly, I get the error below:Do you know what the problem might be? Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: