text: user9188: I'm wanting to create a merged object in Seurat using 2 10x Visium 'slices'. However, when I create an object, Seurat assigns an identity "SeuratProject" to the objects (by default I'm guessing; see attached plot). This will be problematic when I attempt to merge the objects as there will be unintended duplicates of the objects.
  Here's what I'm attempting to use to create the 10x Spatial Object:
  brain1 <- Load10X_Spatial(data.dir = "~/xxx", filename = "filtered_feature_bc_matrix.h5", assay = "Spatial", slice = "slice1", filter.matrix = TRUE, to.upper = FALSE)
  
  I'd need the ability to assign unique ident to each of these (and any subsequent) slices/data.
  Thank you!!
  
  
  user3415: You can re-assign orig.ident after creating the object. For example:
  brain1 <-Load10X_Spatial(data.dir = "~/xxx", filename = "filtered_feature_bc_matrix.h5", assay = "Spatial", slice = "slice1", filter.matrix = TRUE, to.upper = FALSE)
  brain1$orig.ident <- "Visium"
  
  
original_text: 9188: <p>I'm wanting to create a merged object in Seurat using 2 10x Visium 'slices'. However, when I create an object, Seurat assigns an identity &quot;SeuratProject&quot; to the objects (by default I'm guessing; see attached plot). This will be problematic when I attempt to merge the objects as there will be unintended duplicates of the objects.</p>
  <p>Here's what I'm attempting to use to create the 10x Spatial Object:</p>
  <pre><code>brain1 &lt;- Load10X_Spatial(data.dir = &quot;~/xxx&quot;, filename = &quot;filtered_feature_bc_matrix.h5&quot;, assay = &quot;Spatial&quot;, slice = &quot;slice1&quot;, filter.matrix = TRUE, to.upper = FALSE)
  </code></pre>
  <p>I'd need the ability to assign unique ident to each of these (and any subsequent) slices/data.</p>
  <p>Thank you!!</p>
  <p><a href="https://i.stack.imgur.com/wAfo2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wAfo2.png" alt="Plot output showing the &quot;SeuratProject&quot; Identity" /></a></p>
   3415: <p>You can re-assign <code>orig.ident</code> after creating the object. For example:</p>
  <pre class="lang-r prettyprint-override"><code>brain1 &lt;-Load10X_Spatial(data.dir = &quot;~/xxx&quot;, filename = &quot;filtered_feature_bc_matrix.h5&quot;, assay = &quot;Spatial&quot;, slice = &quot;slice1&quot;, filter.matrix = TRUE, to.upper = FALSE)
  brain1$orig.ident &lt;- &quot;Visium&quot;
  </code></pre>
  