Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-11T17:59:37.187Z
Answers.LastActivityDate: 2022-05-11T17:59:37.187Z
Answers.UserDisplayName: haci
Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-05-12T02:29:12.077Z
Comments.Text: Why have you set the point size to zero? I expect that would stop the points from displaying on the plot.
Comments.UserDisplayName: gringer
Tags: <seurat><ggplot2>
Title: Violin plots appear as vertical lines
ThreadText: # 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) 
  
  ```
  
  [![enter image description here](https://i.sstatic.net/kWXF7.png)](https://i.sstatic.net/kWXF7.png)
  
  **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).
  
  
  ---
  
  