Discordance between arrows in different velocity embeddings.
See original GitHub issueI started experimenting with scVelo and got some interesting results but also noticed some discordance between the different velocity embeddings.
Result of scv.pl.velocity_embedding
:
Result of scv.pl.velocity_embedding_grid
:
Result of scv.pl.velocity_embedding_stream
:
Out of those 3 the grid representation seems a little off, inverting many of the thick arrows in the green and blue clusters.
Additionally, the arrows in the PAGA plot don’t seem to correspond very well either:
sc.pl.paga_compare(
adata, basis = "umap", threshold = .15, arrowsize = 10,
edge_width_scale = .5, transitions = "transitions_confidence",
dashed_edges = "connectivities"
)
Did I misunderstand the output of these representations?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
RNA Velocity Analysis (In Situ) - Tutorial and Tips
For example, the directional flow of the velocity arrows between cell clusters should be consistent in the PCA and tSNE representations.
Read more >Preprocessing choices affect RNA velocity results for ... - PLOS
We show that there are substantial differences between the quantifications obtained from different tools, and identify typical genes for ...
Read more >understanding and interpreting RNA velocity estimates - bioRxiv
RNA velocity analysis of single cells promises to predict temporal dynamics from gene expression. Indeed, in many systems, ...
Read more >Preprocessing choices affect RNA velocity results for ... - NCBI
In order to compare the velocity embeddings across methods, we calculate a ... The same is true for the difference between the alevin ......
Read more >RNA Velocity: The Cell's Internal Compass | by Jamshaid Shahir
Taking the difference between the future mRNA expression and the current ... RNA Velocity of cells undergoing neurogenesis in PCA embedding ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If I understand correctly, the discordance only arises when running scanpy’s preprocessing steps without running scvelo’s pp steps.
It’d be important to normalize the spliced/unspliced count data, which is not done within the scanpy pp pipeline. That would be running
scv.pp.filter_and_normalize()
after all your pp steps, which then only touches your spliced/unspliced counts and leavesadata.X
as is when already processed.Ok, that makes sense. I’ll close this thread then, no further questions for now 😃
Thanks again and great work! I like the
dpi
option for plotting. Would be useful also in thescanpy
plot APIs.