-
Notifications
You must be signed in to change notification settings - Fork 924
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VlnPlot removes violins below the threshold from the graphical output #5756
Comments
Hi @vkavaka |
Dear @yuhanH, thank you for your prompt reply. We created the reproducible example using the pbmc3k dataset. Here is the code:
Here is the Violin using the VlnPlot: Session info: |
@yuhanH as a possible reason: we suggest it might be the noising build in the VlnPlot function leading to removing the violins in the graphical output. Would be very happy to read your opinion on that behalf |
Dear @yuhanH , do you have any updates on that behalf? In our opinion, the issue is quite important and possibly leading to the misinterpretation of the "specific looking" results |
hi @vkavaka
You can also see that the noise is very small and it mainly just introduce very small variation for the data. |
@yuhanH thank you for your reply and suggestion. Would you consider still keeping the noise in the vlnplot function? The only clusters that are affected seem to be the ones with the lower expression, the higher ones are completely unchanged. Not very sure whether showing the cell points is the best way to overcome this bias, especially with a lot of cells in the object. We noticed, that after a certain point you cannot lower the size of the dots with pt.size argument of the VlnPlot. Any ideas on how to overcome this limitation and print the dots even smaller? |
@yuhanH thank you for the hint with the alpha values. And what do you think about the noise? I understand, that the developers wouldn't add it up if it would not be necessary. But as you can see in this example, it may affect the data visualization. Is there any explanation, why the noise should be kept and used further? |
Hi @vkavaka |
hi |
Dear Seurat team,
by exploring some genes that look quite specific on the VlnPlots we noticed, that by looking through ridges in some cases the violins are deleted in the graphical output if they are below the threshold. Here is the example of the Violin with standard VlnPlot function:
Here is the output by plotting the same gene with ggplot2 geometrical violins. As you see, the violins in groups 1 and 4 look the same, but 2 and 3 appear.
Why does the VlnPlot cutoff the 2 groups in the middle? What do you think about this possible misleading in the visualization?
The text was updated successfully, but these errors were encountered: