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

Question re: root cells in latent time / velocity streams #20

Open
ishahakm opened this issue Feb 18, 2023 · 2 comments
Open

Question re: root cells in latent time / velocity streams #20

ishahakm opened this issue Feb 18, 2023 · 2 comments

Comments

@ishahakm
Copy link

Hello,

I ran the multivelo workflow on 3 combined time points from a stem cell differentiation protocol. However, the calculated latent time and velocity streams originate from the middle time point and diverge to the earlier and later time point. So, while the algorithm does correctly predict the terminal population, there are significant back flow streams to the progenitor population.

Is there an possible explanation for this or a way to set a known root for the velocity_graph and latent_time functions?

Thank you,
MultiveloOutput

@danielee0707
Copy link
Collaborator

Hi, seeing that the three time-points separate really well in the UMAP, it may be worth integrating the datasets first to remove the potential differences caused by batch effects. You can take a look at #10 for a brief description of our recommended procedure.

To change the root or terminal cell types, you can manually set the root_cells and/or end_points fields in adata.obs (see https://scvelo.readthedocs.io/en/stable/scvelo.tl.terminal_states/#scvelo.tl.terminal_states). You can set the cells you think are roots to be 1 and others to be 0, for example. However from our previous testing, even if you set the root cells explicitly, the stream may still not start from those cells. But it is worth a try.

@jw156605
Copy link
Contributor

jw156605 commented Feb 19, 2023 via email

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

No branches or pull requests

3 participants