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

Error: Cannot find 'umap' in this Seurat object #3

Open
tu12dou opened this issue Mar 14, 2023 · 1 comment
Open

Error: Cannot find 'umap' in this Seurat object #3

tu12dou opened this issue Mar 14, 2023 · 1 comment

Comments

@tu12dou
Copy link

tu12dou commented Mar 14, 2023

Hi!
This is my code
complex_dotplot_single(seu_obj = seurat_object,
feature = "Havcr1",
groups = "group2")
Error: Cannot find 'umap' in this Seurat object
Dimensional reduction for visualization was performed using tSNE in my seurat_object. Could you help solve this problem.
Thank you!

@HaojiaWu
Copy link
Owner

HaojiaWu commented Mar 14, 2023

Hi,
In the current version, plot1cell used the umap for all gene plots. For a simple fix, you can do something like this before running complex_dotplot_single

seu@reductions$umap <- seu@reductions$tsne
complex_dotplot_single(seu_obj = seu, feature = "Havcr1", groups = "group2")

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