Skip to content
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

Problem with arrow direction [Question] #487

Closed
pabloatria18 opened this issue Jun 4, 2021 · 4 comments
Closed

Problem with arrow direction [Question] #487

pabloatria18 opened this issue Jun 4, 2021 · 4 comments
Labels
duplicate Duplicated issue

Comments

@pabloatria18
Copy link

pabloatria18 commented Jun 4, 2021

Hello. I am sorry I know there are some other issues open that are similar to mine but I have not been able to fix this. I am totally new to RNA velocity, this being my first analyzed dataset.
I have a dataset from bone, where the most differentiated group of cells (Cluster 6) and the intermediate state (Cluster 2) is pointing towards the progenitors (Cluster 0-1-3).
I followed the directions that I found in other issues such as #112 and #173

Here I attach my outputs:
scv.pl.proportions(adata,groupby='Clusters')
Prop

UMAP
UMAP

scv.tl.velocity(adata, mode='stochastic')
RNAVelStoch

scv.tl.velocity(adata, mode='steady_state')
Steady

scv.tl.recover_dynamics(adata)
scv.tl.velocity(adata, mode='dynamical')
Dynamic

print(adata.var['velocity_genes'].sum(), adata.n_vars)
379 2000

top_genes = adata.var.sort_values('fit_likelihood', ascending=False).index[:10]
Top10

Color Pseudotime
Pseudotime

counts_s = scv.utils.sum_var(adata.layers['spliced'])
counts_u = scv.utils.sum_var(adata.layers['unspliced'])
fractions_u = counts_u / (counts_s + counts_u)
scv.pl.scatter(adata, color=fractions_u, smooth=True)
Another

I appreciate the help
Thank you very much!

@pabloatria18 pabloatria18 added the bug Something isn't working label Jun 4, 2021
@pabloatria18 pabloatria18 changed the title Problem with arrow d irection Problem with arrow direction Jun 4, 2021
@pabloatria18 pabloatria18 changed the title Problem with arrow direction Problem with arrow direction [Question] Jun 4, 2021
@WeilerP WeilerP added duplicate Duplicated issue and removed bug Something isn't working labels Jun 6, 2021
@WeilerP
Copy link
Member

WeilerP commented Jun 6, 2021

@pabloatria18, please see #462 or #216. Happy to have a discussion there if something is still unclear.

@WeilerP WeilerP closed this as completed Jun 6, 2021
@pabloatria18
Copy link
Author

Thank you @WeilerP, Sorry for duplicating the issue!
I saw both issues you mentioned, and I noticed not all of my genes have the almond/football shape as mentioned.
I have 379 velocity genes and I was wondering if there is a way of selecting some of them and evaluate if the direction changes?
What would you recommend me to do in this case?
I really appreciate your time and advice!

@WeilerP
Copy link
Member

WeilerP commented Jun 7, 2021

@pabloatria18, can we please move the discussion to #462 to have the related problems in the same place? Just repost your question there. Thanks!

@pabloatria18
Copy link
Author

Sure! Thank you @WeilerP!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicated issue
Projects
None yet
Development

No branches or pull requests

2 participants