Skip to content
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

Some problems in Visualization of UMAP plots #34

Open
lightoorange opened this issue Jul 22, 2024 · 1 comment
Open

Some problems in Visualization of UMAP plots #34

lightoorange opened this issue Jul 22, 2024 · 1 comment

Comments

@lightoorange
Copy link

lightoorange commented Jul 22, 2024

Dear Professor,

Thank you for your explanation and patience! I would like to know why, when running the “Plot UMAP of STitch3D’s learned representations” section, the generated images appear as shown below rather than resembling those in the Tutorials.

output

Also, When executing the following code:

sc.tl.louvain(adata_all, resolution=0.8)
colours = ['#8c564b', '#ff7f0e', '#2ca02c', '#17becf', '#9467bd', '#1f77b4', '#e377c2', '#7f7f7f', '#bcbd22', '#d62728', '#aec7e8']
sc.pl.umap(adata_all, color="louvain", palette={str(i): colours[i] for i in range(11)})

I encountered an error

2024-07-22

After modifying the code to: "sc.pl.umap(adata_all, color="louvain", palette=colours)", it showes:

output1

Best regards

@gefeiwang
Copy link
Collaborator

Hi there,

Please check you umap and scanpy versions, as in #18.

Best,
Gefei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants