-
Hello! I am imported a colour palette from my Seurat file and stored the colours in the same order as the clusters: In trying to use those colours to label my clusters,:
How can I call my seurat colours in scvelo? I checked #103 and #183 but it doesn't seem to work... Versions:scvelo==0.2.3 scanpy==1.8.1 anndata==0.7.6 loompy==3.0.6 numpy==1.21.2 scipy==1.6.3 matplotlib==3.4.3 sklearn==0.24.2 pandas==1.3.2 Numba: Attempted to fork from a non-main thread, the TBB library may be in an invalid state in the child process. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@AAA-3, you don't set the argument Note: Running your cell changes the value of |
Beta Was this translation helpful? Give feedback.
@AAA-3, you don't set the argument
palette
. You simply need to specify the column name by which to color the scatter plot. The colors are inferred automatically.Note: Running your cell changes the value of
adata.uns['ClusterName_colors']
. Consequently, to color the embedding with your original colors, you need to reload the data and remove the argumentpalette
.