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?
• 4,607 views
•
link
0 answers
No answers yet.
Log in to answer this question.
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 = NULLparameter. You can give distinct shapes to your clusters. This would not be quite useful if you would have more than 3-4 clusters though.