plot1cell
plot1cell copied to clipboard
object 'UMAP1' not found when running complex_featureplot
When I ran the complex_featureplot function, I encountered the following error:
complex_featureplot(object, features = genes, group = "Group", order = T)
"Error in geom_point(): ! Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in FUN(): ! object 'UMAP1' not found Run rlang::last_trace() to see where the error occurred."
However, my object@reductions contains UMAP information.
I used the following code to change 'umap' to 'UMAP', yet the error persists. object@reductions$UMAP <- object@reductions$umap
How can I resolve this issue? Thank you.