Wrapper function to rename active identities in Seurat Object with new idents.
Rename_Clusters(seurat_object, new_idents, meta_col_name = NULL, ...)
object name.
vector of new cluster names. Must be equal to the length of current active.ident in Seurat Object. Will accept named vector (with old idents as names) or will name the new_idents vector internally.
(Optional). Whether or not to create new named column in Object@meta.data
to store the old identities.
Extra parameters passed to RenameIdents
.
Seurat Object with new identities placed in active.ident slot.
if (FALSE) {
obj <- Rename_Clusters(seurat_object = obj_name, new_idents = new_idents_vec,
meta_col_name = "Round01_Res0.6_Idents")
}