Seurat: Violin plot hidden behind cells

Created on 3 May 2019  Â·  4Comments  Â·  Source: satijalab/seurat

Hi Seurat team,

I am unable to see the actual distribution visualization in my violin plots as the data in front is just too dense. Do you have any advice on how to maybe make the data points smaller or just show a subset of them that match the distributions?

I appreciate your help!

(Violin plots attached)
Screen Shot 2019-05-03 at 3 44 32 PM

Most helpful comment

Assuming you are using Seurat3 then the option for the VlnPlot is to set pt.size = 0. This will hide completely the dots.
VlnPlot(object, features , pt.size = 0)

All 4 comments

Use a dot size = 0

On Fri, May 3, 2019, 1:45 PM piepertc notifications@github.com wrote:

Hi Seurat team,

I am unable to see the actual distribution visualization in my violin
plots as the data in front is just too dense. Do you have any advice on how
to maybe make the data points smaller or just show a subset of them that
match the distributions?

I appreciate your help!

(Violin plots attached)
[image: Screen Shot 2019-05-03 at 3 44 32 PM]
https://user-images.githubusercontent.com/49733959/57164655-68bbe600-6dba-11e9-8c63-c270c7bf315b.png

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/satijalab/seurat/issues/1497, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKQRA3FFLYM56ROAJKXORDPTSP63ANCNFSM4HKW35CA
.

The only methods I can find that modify dot size don't seem to work in the VlnPlot function. I'm not super familiar with R and don't have a great intuition about how to accomplish this. Thanks for your help!

Assuming you are using Seurat3 then the option for the VlnPlot is to set pt.size = 0. This will hide completely the dots.
VlnPlot(object, features , pt.size = 0)

That did the trick; thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akhst7 picture akhst7  Â·  3Comments

fly4all picture fly4all  Â·  3Comments

GHAStVHenry picture GHAStVHenry  Â·  3Comments

bio-la picture bio-la  Â·  3Comments

farhanma picture farhanma  Â·  3Comments