You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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")?
I also tried to use threshold=0.01 but this gives a erroneous plot and transition matrix:
{'transition_matrices': [ Endocrine-prog Endoderm Foregut Nonendocrine Stem
Endocrine-prog NaN NaN NaN NaN NaN
Endoderm NaN NaN NaN NaN NaN
Foregut NaN NaN NaN NaN NaN
Nonendocrine NaN NaN NaN NaN NaN
Stem NaN NaN NaN NaN NaN],
'key': 'cluster_simple',
'source': 0,
'target': 1,
'source_groups': 'cluster_simple',
'target_groups': 'cluster_simple',
'captions': ['(0, 1.0)']}
Did I miss anything here?
Thanks,
Braxton
The text was updated successfully, but these errors were encountered:
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.
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: