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

RNA velocity analysis component #5

Open
LuckyMD opened this issue Jan 26, 2022 · 0 comments
Open

RNA velocity analysis component #5

LuckyMD opened this issue Jan 26, 2022 · 0 comments

Comments

@LuckyMD
Copy link
Collaborator

LuckyMD commented Jan 26, 2022

Components needed for RNA velocity analysis and visualization inclusion into open pipelines:

  1. QC:
    function:
    scv.utils.show_proportions(adata)
  • just to see if data has sufficient unspliced counts
  1. Preprocessing and fit:
    functions:
    scv.pp.filter_and_normalize(adata, min_counts=20, min_counts_u=10)
    scv.pp.moments(adata)
    scv.tl.recover_dynamics(adata)

  2. QC2: Gene likelihood check:

  • this is manual so far...
  • some function on: adata.var[‘fit_likelihood’]
  • assessment (distribution plot, table for certain cutoffs)
  • potentially look at phase portraits of potential velocity genes
  • set adata.var['velocity_genes’] as mask on adata.var[‘fit_likelihood’]
  1. Velocity calculation step 2:
    function:
    scv.tl.velocity(adata, mode=‘dynamical’)
  • other modes possible, but this is probably best
  1. Velo visualization calculation:
    functions:
    scv.tl.velocity_embedding(adata, basis=‘umap’)
  • other bases possible, like diffmap, phate, etc)
  1. Velocity visualization plotting:
    function(s):
    scv.pl.velocity_embedding(adata, basis=‘umap’, color=, arrow_size=2, arrow_length=5, alpha=0.2, size=20)
  • also other plots like velocity_embedding_grid or velocity_embedding_stream
  • should combine into 1 visualization component ideally
DriesSchaumont added a commit that referenced this issue Jan 16, 2024
# This is the 1st commit message:

Concatenation: fix order of var_names in concatenated object.

# This is the commit message #2:

Adjust tests in order to use less memory

# This is the commit message #3:

Another attempt to reduce memory footprint

# This is the commit message #4:

Add logging

# This is the commit message #5:

More robust indexing handling

# This is the commit message #6:

Add possibility to disable runtime asserts

# This is the commit message #7:

Use check_list instead of sort

# This is the commit message #8:

Reindexing will always be more efficient

# This is the commit message #9:

Use backed array
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

1 participant