Closed Roger-GOAT closed 3 years ago
hey @Roger-GOAT the gene-wise confidence is designed to help you correct your RNA velocity directionality by providing some broad lineage relationship. Right now, the lineage_dict
is required to ensure it will work. If you believe your lineage starts from leiden cluster 1 to 5, you can set lineage_dict
as lineage_dict = {"1": [5]}
. You can read the its documentation for more details via ?dyn.tl.gene_wise_confidence
.
In general, you should only run this function when you find your RNA velocity directionality is problematic.
@Xiaojieqiu thank you. It solved!
KeyError Traceback (most recent call last)
Hi Roger,
Just wonder how you solve the second error message, thanks!
J
Thanks @JiaruiMi
I am curious why do you have layers = ['X_unspliced', 'X_spliced']
in your call? Apparently we don't have this argument in tl.cell_velocities
, see our API here: https://dynamo-release.readthedocs.io/en/latest/_autosummary/dynamo.tl.cell_velocities.html#dynamo.tl.cell_velocities
The experiment_type
should have set up during the pp.receipe_monocle
step.
can you type adata
and paste the output here? I want to see how the data look like.
lastly, if you type adata.uns["dynamics"]
, what is the output?
Hi, thanks for the software! I follow the process like below: dyn.pp.recipe_monocle(adata) dyn.tl.moments(adata) dyn.tl.dynamics(adata,model='stochastic', cores=8) dyn.tl.reduceDimension(adata) dyn.pl.umap(adata, color='leiden') dyn.pl.phase_portraits(adata, genes=adata.var_names[adata.var.use_for_dynamics][:4], figsize=(6, 4), color='leiden') all is going well. But happen like below.
with information