Closed ziyangliu93 closed 4 years ago
Please send the whole error msg so that I can comprehend where the error comes from.
You can pass root cells as root='root_cells'
if it is in .obs
, or an array or pass an integer index.
Thank you for your kindness and patience, the error message when performing velocity_pseudotime analysis was as follows:
TypeError Traceback (most recent call last)
In adata.uns['iroot']
an integer index should be stored (e.g. 7), not an array. If you want to pass an array, you can either directly pass it, or have it in .obs
.
I have installed the latest release of scVelo (version 0.1.26) and I followed the tutorials to computed pseudotime, after I ran scv.tl.velocity_pseudotime(adata), an error pop up as the following:
'>=' not supported between instances of 'list' and 'int'
Is it a bug or I just miss some steps.
Also, is there a convenient way to specify root cells and can I set a group of cells or just one cell as the root.