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