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.

Specifying start / end cell (Specify root_cells and end_point)

See original GitHub issue

Hi,

Many thanks for the scVeloo toolkit and the github tutorials. Pretaining to issue #157 #112, I also encountered that the direction goes opposite to what is expected (Day 7 > Day 5 > Day 3) rather than (Day 3 > Day 5 > Day 7). I tried some of the suggestion mentioned in the others thread mainy the different mode steady_state, stochastic, dynamical, but it gives very simillar results.

In one of the comments @VolkerBergen you mentioned

The roots may have already been computed e.g. via tl.terminal_states or given by the user via adata.uns[root_key], otherwise it is computed here internally.

So at the moment, both pseudotime (Figure below ‘velocity pseudotime’) and direction is going in the opposite direction. Therefore I was wondering if its possible to set the root_cells? And would this hopefully invert the peudotime and direction…

scv.pl.scatter(mdata, color='velocity_pseudotime'
scv.tl.terminal_states(mdata)
scv.pl.scatter(mdata, color=['root_cells', 'end_points''])

Picture1

In #114 you did mention

We will work out a more robust way of confidently assigning root cells soon. For now, you can either store a root cell inadata.uns['iroot']and use root_key=‘iroot’, or you can constrain the adata.obs['root_cells'] to the bottom cells.

Does the iroot refer to one cell or a cluster/group of cells?

Best Zaki

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hyjforesightcommented, Nov 30, 2021

Hello scVelo, Could you please tell us how to set the root clusters for running scVelo? My issue is that the initial cluster calculated by scVelo internally is not consistent with the classical Mki67+ and Lgr5+ clusters, which are already known as the stem cell clusters. Thanks! Best, YJ

1reaction
ccruizmcommented, Apr 16, 2021

Good day!

I was wondering if there is a solution for these datasets where the velocity is inverted. Thanks !

Read more comments on GitHub >

github_iconTop Results From Across the Web

monocle-release/docs - trapnell lab
Monocle assumes that the trajectory has a tree structure, with one end of it the "root", and the others the "leaves". Monocle's job...
Read more >
Extracting pseudotime/cell weight for tradeSeq?
I am having issue with defining the root cell in my cds with the lines: ... still define it as the beginning of...
Read more >
Overview of formulas - Microsoft Support
Learn how Excel formulas work. Troubleshoot common formula problems.
Read more >
Slingshot: Trajectory Inference for Single-Cell Data
At this stage, a lineage will consist of an ordered set of cluster names, starting with the root cluster and ending with a...
Read more >
Configure Permissions for Secure Endpoint Mac Connector ...
NOTE: When macOS Extension removable permission is allowed, any user or process with root privileges has the ability to remove the extension ...
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