text: user3171: I'm curious about can we show the orig.ident in sprat windows by using Seurat? Here are my code and the fig I got. Is it possible that I can separate each orig.ident into a single panel? DimPlot(whole,group.by = "orig.ident", reduction = "umap")
  
  user3541: The DimPlot() function of the new version of Seurat, Seurat v3 has a split.by argument, which splits the plot based on the levels of the variable provided. You basically need to provide a column from the @metadata slot:
  DimPlot(whole, split.by = "orig.ident", reduction = "umap")
  
  If you are using Seurat v2, you can have the DimPlot() function return the ggplot object created and then use facet_wratp() or facet_grid() to generate facets based on your variable of interest.
  
original_text: 3171: <p>I'm curious about can we show the orig.ident in sprat windows by using Seurat? Here are my code and the fig I got. Is it possible that I can separate each orig.ident into a single panel? <code>DimPlot(whole,group.by = "orig.ident", reduction = "umap")</code><a href="https://i.stack.imgur.com/oc7hY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oc7hY.jpg" alt="enter image description here"></a></p>
   3541: <p>The <code>DimPlot()</code> function of the new version of Seurat, <code>Seurat v3</code> has a <code>split.by</code> argument, which splits the plot based on the levels of the variable provided. You basically need to provide a column from the <code>@metadata</code> slot:</p>
  <pre><code>DimPlot(whole, split.by = &quot;orig.ident&quot;, reduction = &quot;umap&quot;)
  </code></pre>
  <p>If you are using <code>Seurat v2</code>, you can have the <code>DimPlot()</code> function return the <code>ggplot</code> object created and then use <code>facet_wratp()</code> or <code>facet_grid()</code> to generate facets based on your variable of interest.</p>
  