question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about dyn.pl.umap

See original GitHub issue

Hi, I try to run “Zebrafish pigmentation” tutorial as follows:

adata=dyn.read('zebrafish.h5ad')
dyn.pp.recipe_monocle(adata)
dyn.tl.dynamics(adata, model='stochastic', cores=10)
dyn.tl.reduceDimension(adata)
dyn.pl.umap(adata, color='Cell_type',pointsize=0.5, alpha = 0.7,save_show_or_return='save')

The output feels strange:

dyna

The file comes from #116: https://www.dropbox.com/s/5wk3q2xhgqai2xq/zebrafish.h5ad?dl=1

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
Xiaojieqiucommented, Feb 22, 2022

Dear @lh12565, thanks for reporting this.

For your first question:

The API to this function has been changes. please set return_df = True instead of output_values and the adata are also saved in the adata so that is why you can still plot it

@dummyindex can you please update the corresponding notebook

0reactions
Xiaojieqiucommented, Feb 22, 2022

these could be just numerical instability, as many steps may be not fully deterministic such as dimension reduction, vector field reconstruction, etc. – I would not worry about this too much if the overall conclusion is the same

Read more comments on GitHub >

github_iconTop Results From Across the Web

dynamo.pl.umap — dynamo 1.1.0 documentation
dynamo.pl.umap . dynamo.pl.umap(adata, *args, **kwargs)[source] . Scatter plot with umap basis. Parameters. adata ( AnnData ) – an Annodata object.
Read more >
Issues - GitHub
Dear scanpy developers, I would like to color my tsnes, umaps and graph layouts by specific principal components or diffusion components.
Read more >
How to order legend in sc.pl.umap()? - Help - Scanpy
pl.umap. I could also change the order of andata but this has caused me problem between versions in the past so I would...
Read more >
Analysis of plant scRNA-Seq Data with Scanpy
Question. We can peek at the #shr file, and determine the dimensionality and ... used for plotting”: Embeddings: Scatter plot in UMAP basis,...
Read more >
Trajectory Analysis using 10x Genomics Single Cell Gene ...
This analysis can be used to reconstruct the dynamic processes that ... plot with UMAP and cluster scv.pl.velocity_embedding_stream(Neutro3p ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found