-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error in scNT_seq: least squares fails #5
Comments
Hi @Baschdl thanks for raising up the questions again, please note that the labeling time is always 2 hours and the
Would you mind to add more pull requests to the previous one that I closed? Thanks again and please let me know if anything else we can help Thanks, |
Thanks a lot @Xiaojieqiu. I was able to get it to run for labeling data with def dynamo_workflow_labeling(adata):
dyn.pp.recipe_monocle(adata, tkey='label_time', experiment_type='one-shot')
dyn.tl.dynamics(adata)
dyn.tl.reduceDimension(adata)
dyn.tl.cell_velocities(adata, calc_rnd_vel=True, transition_genes=adata.var_names)
dyn.vf.VectorField(adata, basis='umap')
and for splicing data with the original version: def dynamo_workflow_splicing(adata):
dyn.pp.recipe_monocle(adata)
dyn.tl.dynamics(adata)
dyn.tl.reduceDimension(adata)
dyn.tl.cell_velocities(adata, calc_rnd_vel=True)
dyn.vf.VectorField(adata, basis='umap') This also solves #4. I can open a pull request for those changes. Is there a way to only have one |
I think you can just add kwargs to the Please feel free to make the pull request and close the issue #4. |
When changing
neuron_labeling.obs['time'] = neuron_labeling.obs.time.astype("categorical")
(cell 8) toneuron_labeling.obs['time'] = neuron_labeling.obs.time.astype(float)
to circumvent the problem in #4, I get aValueError: Residuals are not finite in the initial point.
whiledynamo/estimation/tsc/estimation_kinetic.py:auto_fit
runs least squares. Is this just an irrelevant error because one should fix #4 differently?Full trace:
The text was updated successfully, but these errors were encountered: