Legends in FeaturePlot of Seurat Package
0
0
Entering edit mode
4.8 years ago

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 • 3.9k views
ADD COMMENT
1
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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.

ADD REPLY

Login before adding your answer.

Traffic: 1819 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6