This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Legends in FeaturePlot of Seurat Package

Hi,

Is there any way to get a legend for the clusters in the FeaturePlot? I know that you can label the clusters by setting label = TRUE, but is it possible to have a legend instead of the labels?

r seurat featureplot visualization

How do you expect that to work if the cells are colored by your feature? Do you have an example? Sounds like a job for violin plots/heatmaps/ridgeplots if you want to visualize by cluster.

A workaround would be using the shape.by = NULL parameter. You can give distinct shapes to your clusters. This would not be quite useful if you would have more than 3-4 clusters though.

0 answers

No answers yet.

Log in to answer this question.