powered by
Can also be used to join identity classes together (for example, to merge clusters).
RenameIdent(object, old.ident.name = NULL, new.ident.name = NULL)
Seurat object
The old identity class (to be renamed)
The new name to apply
A Seurat object where object@ident has been appropriately modified
# NOT RUN { head(x = pbmc_small@ident) pbmc_small <- RenameIdent( object = pbmc_small, old.ident.name = 0, new.ident.name = 'cluster_0' ) head(x = pbmc_small@ident) # }
Run the code above in your browser using DataLab