Is there a way to separate clusters in UMAPs using circles, outlines, borders, etc.? I have seen this in some presentations however cannot find documentation for this feature and would appreciate any input.
Do you mean something like the image below? If so, I think you will have to write a custom function - at least I did it. I don't think it matters if the circle or ellipse is not perfectly enclosing the dots, as long as you do some clustering beforehand and color data points accordingly.
Have you looked at
If you want to have "flexible" boundaries, you could use a simple classifier (on top of the UMAP coordinates) and use
geom_contourto plot the decision boundaries between clusters.
For geom_mark_ellipse, I don't believe this would be feasible given that it requires the input as a data frame, and we cannot coerce the class structure of SeuratObjects into data.frames.
geom_contour also would not work since it would have an error occurring in the 3rd layer (x,y,z directionalities).
It's trivial enough to pull out the UMAP coordinates and cell labels into a dataframe. The same is true of geom_contour.
If you want to do anything custom, you will eventually need to pull data out of Seurat and into a more native format.