plot1cell icon indicating copy to clipboard operation
plot1cell copied to clipboard

object 'UMAP1' not found when running complex_featureplot

Open pandaqiuqiu opened this issue 1 year ago • 2 comments

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.

image

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.

pandaqiuqiu avatar Dec 06 '23 17:12 pandaqiuqiu