How do I change the identity of a sample from spatial 'Visium' data preprocessing in Seurat v3?
You can re-assign orig.ident after creating the object. For example:
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;