-
Notifications
You must be signed in to change notification settings - Fork 9
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
Sankey diagram and transition matrix issue #795
Comments
Hi @Enterprise-J I will have a look but in the meantime could you share an example where this happens in one of our built in datasets? So that there is a reproducible code that someone can run from scratch? If not its fine but it would speed up the process |
Hi I think I know the cause of issue 1. The Sankey diagram is plotting with transition probability values directly. Since there are <1% percent of misclassified cells assigned with high transitional probabilities at time point 0, diagram is dominated by them and becomes counterintuitive. For issue 2:
I am using moscot build 0.4.0 and anndata 0.11.2 in python 3.12.8. Sorry that I can't share the adata object because it is so large. |
Hi @Enterprise-J for the first issue you are right. About the second one, this also happens to me but I noticed that the value 0.01 is too high in this context. I would suggest you to set a small value for your case. But this shows we should probably send an error when the value is too high that it breaks or handle it somehow better. So thanks for writing! Let me know if it becomes something more sensible when you lower the value |
1
I am running Sankey in Moscot but have a few issues:
gives the following plot, however only Stem is supposed to exist in source distribution. No endocrine/nonendocrine related cell types should be in both distributions. From the transition matrix I can roughly see why but should the Sankey diagram also account for relative abundance (to reflect "evolution between time points")?
The transition matrix is:
2
I also tried to use
threshold=0.01
but this gives a erroneous plot and transition matrix:Did I miss anything here?
Thanks,
Braxton
The text was updated successfully, but these errors were encountered: