Any way to use pre-computed cell embeddings as input for dyn.tl.moments? #421
-
In scvelo, I can use the However, preprocessing steps in dynamo are wrapped within one function |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hey @altairwei , you can use Dynamo's preprocessing module is actually very flexible and we have integrated Pearson residual and harmony in our model. Unfortunately, I am busy with job searches these days, but you can check this notebook to get it started: https://github.com/aristoteleo/dynamo-tutorials/blob/master/tutorial_preprocess.ipynb We will have a tutorial on preprocessing in our readthedocs page sometime next month. |
Beta Was this translation helpful? Give feedback.
-
Hi @Xiaojieqiu, tutorial_preprocess.ipynb is great, and it made me realize that dynamo's preprocessing is indeed customizable. I am interested in dynamo's |
Beta Was this translation helpful? Give feedback.
hey @altairwei , you can use
dyn.tl.moments(adata, X_data=adata.obsm['X_harmony'])
or others other embedding in.obsm
to calculate first/second and mix-order moments with dynamo.Dynamo's preprocessing module is actually very flexible and we have integrated Pearson residual and harmony in our model. Unfortunately, I am busy with job searches these days, but you can check this notebook to get it started: https://github.com/aristoteleo/dynamo-tutorials/blob/master/tutorial_preprocess.ipynb
We will have a tutorial on preprocessing in our readthedocs page sometime next month.