<p>I believe the reason is simply LTA and LTB not being expressed (or their expression not being detected due to technical limitations). If you would set the <code>pt.size</code> argument to something else than 0, you would see a big blob of dots at point 0.0 (depending on the number of cells/data points).</p>

CC BY-SA 4.0
2022-05-11T17:59:37.187Z
2022-05-11T17:59:37.187Z
haci
<p>I want to perform a violin plot from a Seurat object and I rather have vertical lines. How can I stop this and rather have a standard Violin plot?</p>
<p>code</p>
<pre><code>Seurat::VlnPlot(object, features=c(&quot;LTA&quot;, &quot;LTB&quot;), group.by = &quot;group&quot;,
    pt.size = 0) 
</code></pre>
<p><a href="https://i.sstatic.net/kWXF7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kWXF7.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2022-05-12T02:29:12.077Z
Why have you set the point size to zero? I expect that would stop the points from displaying on the plot.
gringer
<seurat><ggplot2>
Violin plots appear as vertical lines
# Violin plots appear as vertical lines

(Asked by: username_0 on 2022-05-11)

I want to perform a violin plot from a Seurat object and I rather have vertical lines. How can I stop this and rather have a standard Violin plot?
code
Seurat::VlnPlot(object, features=c("LTA", "LTB"), group.by = "group",
    pt.size = 0)

**Tags:** seurat, ggplot2
> **Comments:**
> **username_1**: Why have you set the point size to zero? I expect that would stop the points from displaying on the plot.  

---

## 1 answers

### Answer by username_2 on 2022-05-11. Score: 3

I believe the reason is simply LTA and LTB not being expressed (or their expression not being detected due to technical limitations). If you would set the `pt.size` argument to something else than 0, you would see a big blob of dots at point 0.0 (depending on the number of cells/data points).


---

