Skip to content

UMAP Hematopoiesis #411

Answered by Xiaojieqiu
StillJosh asked this question in Q&A
Aug 30, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Thanks for this question. We are in the process of adding a new notebook to demonstrate the generation of the umap, the spliced RNA velocity analyses and the correction of backward RNA velocity flow in our cell paper. But to ease your life, here is the code we created that umap (note that we used the excellent scanpy below but a purely dynamo version will be provided in the pending notebook):

firstly, download the raw data via:
!wget https://www.dropbox.com/s/8m8n6fj8yn1ryjd/hsc_all_combined_all_layers.h5ad?dl=1

Then running the following:


import dynamo as dyn 
import scanpy as sc 
adata_dyn = dyn.read('./hsc_all_combined_all_layers.h5ad')

adata_dyn
adata_dyn.obs['time'] = 3
adata_dyn.o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@StillJosh
Comment options

Answer selected by StillJosh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants